Skip to content
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sqlglot/dialects/duckdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ class DuckDB(Dialect):
**Dialect.DATE_PART_MAPPING,
"DAYOFWEEKISO": "ISODOW",
}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this new line

TIME_MAPPING = {"%D": "%m/%d/%y"}

DATE_PART_MAPPING.pop("WEEKDAY")

def to_json_path(self, path: t.Optional[exp.Expression]) -> t.Optional[exp.Expression]:
Expand Down