Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurinehate committed Jul 16, 2024
1 parent 7010f3c commit 600f515
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@

logger = logging.getLogger(__name__)

SCHEMA_PARALLELISM = int(os.getenv("DATAHUB_BIGQUERY_SCHEMA_PARALLELISM", 20))
DEFAULT_BQ_SCHEMA_PARALLELISM = int(
os.getenv("DATAHUB_BIGQUERY_SCHEMA_PARALLELISM", 20)
)


class BigQueryUsageConfig(BaseUsageConfig):
Expand Down Expand Up @@ -316,7 +318,7 @@ def have_table_data_read_permission(self) -> bool:
)

max_threads_dataset_parallelism: int = Field(
default=SCHEMA_PARALLELISM,
default=DEFAULT_BQ_SCHEMA_PARALLELISM,
description="Number of worker threads to use to parallelize BigQuery Dataset Metadata Extraction."
" Set to 1 to disable.",
)
Expand Down

0 comments on commit 600f515

Please sign in to comment.