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 635f6d5 commit 29ec58dCopy full SHA for 29ec58d
awswrangler/catalog/_utils.py
@@ -34,7 +34,9 @@ def _sanitize_name(name: str) -> str:
34
def _extract_dtypes_from_table_details(response: "GetTableResponseTypeDef") -> dict[str, str]:
35
dtypes: dict[str, str] = {}
36
for col in response["Table"]["StorageDescriptor"]["Columns"]:
37
- dtypes[col["Name"]] = col["Type"]
+ # Do not return "hidden" iceberg columns
38
+ if col.get("Parameters", {}).get("iceberg.field.current") != "false":
39
+ dtypes[col["Name"]] = col["Type"]
40
if "PartitionKeys" in response["Table"]:
41
for par in response["Table"]["PartitionKeys"]:
42
dtypes[par["Name"]] = par["Type"]
0 commit comments