Skip to content

Commit

Permalink
chore(mssql): workaround broken upstream sqlglot parse of tinyint
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed May 18, 2024
1 parent a18b761 commit 22c9d50
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 @@ -935,7 +935,7 @@ def _from_sqlglot_STRUCT(cls, *cols: sge.ColumnDef) -> NoReturn:
class MSSQLType(SqlglotType):
dialect = "mssql"

unknown_type_strings = FrozenDict({"hierarchyid": dt.string})
unknown_type_strings = FrozenDict({"hierarchyid": dt.string, "tinyint": dt.int8})

@classmethod
def _from_sqlglot_BIT(cls):
Expand Down

0 comments on commit 22c9d50

Please sign in to comment.