Skip to content

Commit 19f104a

Browse files
KulykDmytrohsheth2
andauthored
fix(ingest/glue): glue table partition (Athena v3) profiling parameters retrieval error (datahub-project#9521)
Co-authored-by: Harshal Sheth <[email protected]>
1 parent 651998d commit 19f104a

File tree

1 file changed

+1
-1
lines changed
  • metadata-ingestion/src/datahub/ingestion/source/aws

1 file changed

+1
-1
lines changed

metadata-ingestion/src/datahub/ingestion/source/aws/glue.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ def get_profile_if_enabled(
852852
partition_keys = [k["Name"] for k in partition_keys]
853853

854854
for p in partitions:
855-
table_stats = p["Parameters"]
855+
table_stats = p.get("Parameters", {})
856856
column_stats = p["StorageDescriptor"]["Columns"]
857857

858858
# only support single partition key

0 commit comments

Comments
 (0)