We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17cf3ec commit aac99a9Copy full SHA for aac99a9
cloudquery/sdk/schema/column.py
@@ -59,7 +59,7 @@ def to_arrow_field(self):
59
60
@staticmethod
61
def from_arrow_field(field: pa.Field) -> Column:
62
- metadata = field.metadata
+ metadata = field.metadata or {}
63
primary_key = metadata.get(arrow.METADATA_PRIMARY_KEY) == arrow.METADATA_TRUE
64
unique = metadata.get(arrow.METADATA_UNIQUE) == arrow.METADATA_TRUE
65
incremental_key = (
0 commit comments