diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-12-22 07:22:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-12-22 07:22:56 +0000 |
commit | 85bf7f61d00f60343363b7c6dc98f2d0b5a8e621 (patch) | |
tree | 76c8712faaa2753e3997de25eb3a69c3ec450979 /sqlglot/dialects/hive.py | |
parent | Adding upstream version 10.2.6. (diff) | |
download | sqlglot-85bf7f61d00f60343363b7c6dc98f2d0b5a8e621.tar.xz sqlglot-85bf7f61d00f60343363b7c6dc98f2d0b5a8e621.zip |
Adding upstream version 10.2.9.upstream/10.2.9
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sqlglot/dialects/hive.py')
-rw-r--r-- | sqlglot/dialects/hive.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlglot/dialects/hive.py b/sqlglot/dialects/hive.py index 70c1c6c..8d6e1ae 100644 --- a/sqlglot/dialects/hive.py +++ b/sqlglot/dialects/hive.py @@ -250,6 +250,7 @@ class Hive(Dialect): TYPE_MAPPING = { **generator.Generator.TYPE_MAPPING, exp.DataType.Type.TEXT: "STRING", + exp.DataType.Type.DATETIME: "TIMESTAMP", exp.DataType.Type.VARBINARY: "BINARY", } |