Presto QueryRunner supports tinyint and smallint

Presto0.148 started to support tinyint and smallint.
https://prestodb.io/docs/current/release/release-0.148.html
This commit is contained in:
Toru Takahashi
2016-06-21 17:36:23 +09:00
committed by GitHub
parent 6bb09d8446
commit 9c0d1da7f9

View File

@@ -17,6 +17,8 @@ except ImportError:
PRESTO_TYPES_MAPPING = {
"integer": TYPE_INTEGER,
"tinyint": TYPE_INTEGER,
"smallint": TYPE_INTEGER,
"long": TYPE_INTEGER,
"bigint": TYPE_INTEGER,
"float": TYPE_FLOAT,