Skip to content

Commit f1331df

Browse files
duplicate comments from merge
1 parent de8fdaa commit f1331df

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

sqlglot/dialects/duckdb.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,9 @@ def _unix_to_time_sql(self: DuckDB.Generator, expression: exp.UnixToTime) -> str
407407
to_timestamp = exp.AtTimeZone(this=to_timestamp, zone=exp.Literal.string("UTC"))
408408
return self.sql(to_timestamp)
409409
if scale == exp.UnixToTime.MILLIS:
410-
# EPOCH_MS already returns TIMESTAMP (naive, UTC)
411410
# EPOCH_MS already returns TIMESTAMP (naive, UTC)
412411
return self.func("EPOCH_MS", timestamp)
413412
if scale == exp.UnixToTime.MICROS:
414-
# MAKE_TIMESTAMP already returns TIMESTAMP (naive, UTC)
415413
# MAKE_TIMESTAMP already returns TIMESTAMP (naive, UTC)
416414
return self.func("MAKE_TIMESTAMP", timestamp)
417415

sqlglot/dialects/singlestore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ def jsonarraycontains_sql(self, expression: exp.JSONArrayContains) -> str:
17621762
self.func("TO_JSON", expression.this),
17631763
)
17641764

1765-
@unsupported_args("kind", "nested", "values")
1765+
@unsupported_args("kind", "values")
17661766
def datatype_sql(self, expression: exp.DataType) -> str:
17671767
if expression.is_type(exp.DataType.Type.VARBINARY) and not expression.expressions:
17681768
# `VARBINARY` must always have a size - if it doesn't, we always generate `BLOB`

0 commit comments

Comments
 (0)