Skip to content

Commit

Permalink
chore(sqlglot): remove workaround that is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Apr 12, 2024
1 parent 1970955 commit 4c3fe68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/sql/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def to_ibis(cls, typ: sge.DataType, nullable: bool | None = None) -> dt.DataType
if isinstance(typecode, sge.Interval):
typ = sge.DataType(
this=sge.DataType.Type.INTERVAL,
expressions=[sge.IntervalSpan(this=typecode.unit)],
expressions=[typecode.unit],
)
typecode = typ.this

Expand Down

0 comments on commit 4c3fe68

Please sign in to comment.