fix(ingest): glue - fix profiling config option for column_count (#5178)

This commit is contained in:
data ** 100 2022-06-16 15:07:58 +09:00 committed by GitHub
parent 63b673bd8c
commit f4674c3e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -716,7 +716,7 @@ class GlueSource(Source):
dataset_profile.rowCount = int(
float(table_stats[self.source_config.profiling.row_count])
)
if self.source_config.profiling.row_count in table_stats:
if self.source_config.profiling.column_count in table_stats:
dataset_profile.columnCount = int(
float(table_stats[self.source_config.profiling.column_count])
)