Skip to content

Commit 52ccc48

Browse files
Update sqlglot/typing/__init__.py
Co-authored-by: Jo <46752250+georgesittas@users.noreply.github.com>
1 parent 94b81a1 commit 52ccc48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlglot/typing/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
"annotator": lambda self, e: self._set_type(
299299
e,
300300
exp.DataType.Type.BIGINT
301-
if self.dialect.HEX_STRING_IS_INTEGER_TYPE
301+
if e.args.get("is_integer")
302302
else exp.DataType.Type.BINARY,
303303
)
304304
},

0 commit comments

Comments
 (0)