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 2f12bd9 commit fab2efcCopy full SHA for fab2efc
sqlglot/dialects/athena.py
@@ -58,7 +58,7 @@ def _location_property_sql(self: Athena.Generator, e: exp.LocationProperty):
58
return f"{prop_name}={self.sql(e, 'this')}"
59
60
61
-def _partitioned_by_property_sql(self: Athena.Generator, e: exp.PartitionedByProperty):
+def _partitioned_by_property_sql(self: Athena.Generator, e: exp.PartitionedByProperty) -> str:
62
# If table_type='iceberg' then the table property for partitioning is called 'partitioning'
63
# If table_type='hive' it's called 'partitioned_by'
64
# ref: https://docs.aws.amazon.com/athena/latest/ug/create-table-as.html#ctas-table-properties
0 commit comments