Skip to content

Commit 533f74b

Browse files
document disparity mapping
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent b4f9e2d commit 533f74b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/databricks/sql/backend/sea/utils/normalize.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77

88
from typing import Dict, Any
99

10-
# Mapping of SEA types that need to be translated to Thrift conventions
10+
# SEA types that need to be translated to Thrift types
11+
# The list of all SEA types is available in the REST reference at:
12+
# https://docs.databricks.com/api/workspace/statementexecution/executestatement
13+
# The list of all Thrift types can be found in the ttypes.TTypeId definition
14+
# The SEA types that do not align with Thrift are explicitly mapped below
1115
SEA_TO_THRIFT_TYPE_MAP = {
1216
"BYTE": "TINYINT",
1317
"SHORT": "SMALLINT",

0 commit comments

Comments
 (0)