Skip to content

Commit fab2efc

Browse files
committed
Add type hint
1 parent 2f12bd9 commit fab2efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlglot/dialects/athena.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _location_property_sql(self: Athena.Generator, e: exp.LocationProperty):
5858
return f"{prop_name}={self.sql(e, 'this')}"
5959

6060

61-
def _partitioned_by_property_sql(self: Athena.Generator, e: exp.PartitionedByProperty):
61+
def _partitioned_by_property_sql(self: Athena.Generator, e: exp.PartitionedByProperty) -> str:
6262
# If table_type='iceberg' then the table property for partitioning is called 'partitioning'
6363
# If table_type='hive' it's called 'partitioned_by'
6464
# ref: https://docs.aws.amazon.com/athena/latest/ug/create-table-as.html#ctas-table-properties

0 commit comments

Comments
 (0)