Skip to content

Commit

Permalink
fix: change TimestampType to Timestamp
Browse files Browse the repository at this point in the history
In datafusion backend.

I believe this is the correct type as I can't find `TimestampType` in `ibis.expr.datatypes`.
  • Loading branch information
gerrymanoim authored and cpcloud committed Feb 15, 2022
1 parent a704dc2 commit e0750be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/datafusion/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def from_pyarrow_primitive(arrow_type, nullable=True):

@dt.dtype.register(pa.TimestampType)
def from_pyarrow_timestamp(arrow_type, nullable=True):
return dt.TimestampType(timezone=arrow_type.tz)
return dt.Timestamp(timezone=arrow_type.tz)


@sch.infer.register(pa.Schema)
Expand Down

0 comments on commit e0750be

Please sign in to comment.