Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decrease parquet entity limit to trigger chunking #346

Merged
merged 1 commit into from
Feb 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion digital_land/package/dataset_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def load_entities(self, transformed_parquet_dir, resource_path, organisation_pat
max_sql = f"select MAX(entity) FROM parquet_scan('{transformed_parquet_dir}/*.parquet');"
max_entity = self.conn.execute(max_sql).fetchone()[0]
total_entities = max_entity - min_entity
entity_limit = 1000000
entity_limit = 100000
if total_entities > entity_limit:
# create a temparary output path to store separate entity file in
temp_dir = (
Expand Down