Skip to content

Commit 01b915c

Browse files
committed
add numeric skeleton
1 parent 3765b43 commit 01b915c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/databricks/labs/lakebridge/reconcile/design/normalizers.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,27 @@ lakebridge:
110110
- name: "standard_time"
111111
input: "13:45:30"
112112
expected_output: "13:45:30"
113+
114+
numeric:
115+
description: >
116+
Numeric types represent numbers, including integers, decimals, and floating‑point values.
117+
118+
# Per-category dialect type mapping -> canonical numeric classes
119+
type_map:
120+
canonical_classes: ["INTEGER", "DECIMAL", "FLOAT"]
121+
tsql: # implement
122+
INTEGER: []
123+
DECIMAL: []
124+
FLOAT: []
125+
oracle:
126+
INTEGER: []
127+
DECIMAL: ["NUMBER"]
128+
FLOAT: ["BINARY_DOUBLE", "BINARY_FLOAT"]
129+
snowflake: # implement
130+
INTEGER: []
131+
DECIMAL: []
132+
FLOAT: []
133+
databricks:
134+
INTEGER: ["TINYINT", "SMALLINT", "INT", "BIGINT"]
135+
DECIMAL: ["DECIMAL"]
136+
FLOAT: ["FLOAT", "DOUBLE"]

0 commit comments

Comments
 (0)