Skip to content
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -747,21 +747,23 @@ def generate_profiles(
"great_expectations.dataset.sqlalchemy_dataset.SqlAlchemyDataset._get_column_quantiles_bigquery",
_get_column_quantiles_bigquery_patch,
):
async_profiles = [
async_profiles = {
async_executor.submit(
self._generate_profile_from_request,
query_combiner,
request,
platform=platform,
profiler_args=profiler_args,
)
): 1
for request in requests
]
}

# Avoid using as_completed so that the results are yielded in the
# same order as the requests.
# for async_profile in concurrent.futures.as_completed(async_profiles):
for async_profile in async_profiles:
# remove from dictionary to release reference
del async_profiles[async_profile]
yield async_profile.result()

total_time_taken = timer.elapsed_seconds()
Expand Down