Merge pull request #1149 from toru-takahashi/patch-2

Presto QueryRunner supports tinyint and smallint
This commit is contained in:
Arik Fraimovich
2016-06-21 11:50:32 +03:00
committed by GitHub

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,