mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-25 00:48:45 +00:00
fix(ingest/glue): Profiling breaks for non-partitioned tables due to absent Table.PartitionKeys (#9591)
This commit is contained in:
parent
f7f0b14f37
commit
fc27ab2fb5
@ -833,9 +833,8 @@ class GlueSource(StatefulIngestionSourceBase):
|
||||
**{k: v for k, v in kwargs.items() if v}
|
||||
)
|
||||
|
||||
partition_keys = response["Table"]["PartitionKeys"]
|
||||
|
||||
# check if this table is partitioned
|
||||
partition_keys = response["Table"].get("PartitionKeys")
|
||||
if partition_keys:
|
||||
# ingest data profile with partitions
|
||||
# for cross-account ingestion
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user