Skip to content
Merged
Changes from 1 commit
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: 2 additions & 1 deletion trino/sqlalchemy/datatype.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,12 @@ def _format_value(self, value):
# 'map': MAP
# 'row': ROW
#
# === Mixed ===
# === Others ===
# 'ipaddress': IPADDRESS
# 'uuid': UUID,
# 'hyperloglog': HYPERLOGLOG,
# 'p4hyperloglog': P4HYPERLOGLOG,
# 'setdigest': SETDIGEST,
# 'qdigest': QDIGEST,
# 'tdigest': TDIGEST,
Comment on lines 172 to 173

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These two don't exist in SQLAlchemy as well.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same for HyperLogLog types.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Let's still keep those in the map. It's useful to have it to show what types are mapped to what.

Note that some databases for example map their custom types to a custom SQLA type - we can do this too in future if we ever want to.

}
Expand Down