|
71 | 71 | {% macro spark__data_type_list(data_type) %} |
72 | 72 |
|
73 | 73 | {% set string_list = ['string'] | list %} |
74 | | - {% set numeric_list = ['int','bigint','smallint','tinyint','float','double','long','short','decimal'] | list %} |
| 74 | + {% set numeric_list = ['int','bigint','smallint','tinyint','float','double','long','short','decimal','numeric'] | list %} |
75 | 75 | {% set timestamp_list = ['timestamp','date','timestamp_ltz','timestamp_ntz'] | list %} |
76 | 76 | {% set boolean_list = ["boolean"] | list %} |
77 | 77 |
|
|
93 | 93 | {% macro athena__data_type_list(data_type) %} |
94 | 94 |
|
95 | 95 | {% set string_list = ['string', 'varchar', 'char'] | list %} |
96 | | - {% set numeric_list = ['int','integer','bigint','smallint','tinyint','float','real','double','decimal'] | list %} |
| 96 | + {% set numeric_list = ['int','integer','bigint','smallint','tinyint','float','real','double','decimal','numeric'] | list %} |
97 | 97 | {% set timestamp_list = ['timestamp','date'] | list %} |
98 | 98 | {% set boolean_list = ["boolean"] | list %} |
99 | 99 |
|
|
114 | 114 | {% macro trino__data_type_list(data_type) %} |
115 | 115 |
|
116 | 116 | {% set string_list = ['string', 'varchar', 'char'] | list %} |
117 | | - {% set numeric_list = ['int','integer','bigint','smallint','tinyint','float','real','double','decimal'] | list %} |
| 117 | + {% set numeric_list = ['int','integer','bigint','smallint','tinyint','float','real','double','decimal','numeric'] | list %} |
118 | 118 | {% set timestamp_list = ['timestamp','date'] | list %} |
119 | 119 | {% set boolean_list = ["boolean"] | list %} |
120 | 120 |
|
|
134 | 134 |
|
135 | 135 | {% macro clickhouse__data_type_list(data_type) %} |
136 | 136 | {% set string_list = ['String', 'FixedString', 'LowCardinality(String)'] | list %} |
137 | | - {% set numeric_list = ['Int8', 'Int16', 'Int32', 'Int64', 'UInt8', 'UInt16', 'UInt32', 'UInt64', 'Float32', 'Float64', 'Decimal', 'Decimal32', 'Decimal64', 'Decimal128'] | list %} |
| 137 | + {% set numeric_list = ['Int8', 'Int16', 'Int32', 'Int64', 'UInt8', 'UInt16', 'UInt32', 'UInt64', 'Float32', 'Float64', 'Decimal', 'Decimal32', 'Decimal64', 'Decimal128', 'numeric'] | list %} |
138 | 138 | {% set timestamp_list = ['DateTime', 'Date', 'Date32'] | list %} |
139 | 139 | {% set boolean_list = ["UInt8","Bool"] | list %} |
140 | 140 |
|
|
154 | 154 |
|
155 | 155 | {% macro dremio__data_type_list(data_type) %} |
156 | 156 | {% set string_list = ['varchar', 'character varying'] | list %} |
157 | | - {% set numeric_list = ['int','integer','bigint','double','decimal','float','smallint','tinyint'] | list %} |
| 157 | + {% set numeric_list = ['int','integer','bigint','double','decimal','float','smallint','tinyint','numeric'] | list %} |
158 | 158 | {% set timestamp_list = ['date','time','timestamp', 'time with time zone', 'timestamp with time zone'] | list %} |
159 | 159 | {% set boolean_list = ['boolean', 'bit'] | list %} |
160 | 160 |
|
|
0 commit comments