diff --git a/metadata-ingestion/src/datahub/ingestion/source/aws/glue.py b/metadata-ingestion/src/datahub/ingestion/source/aws/glue.py index a7171cfe42caf..93768a1aa7e73 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/aws/glue.py +++ b/metadata-ingestion/src/datahub/ingestion/source/aws/glue.py @@ -716,7 +716,7 @@ def _create_profile_mcp( 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]) )