We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a5a5a commit 3800305Copy full SHA for 3800305
packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts
@@ -101,11 +101,21 @@ const hydrators: HydrationConfiguration[] = [
101
}
102
);
103
},
104
+ },
105
+ {
106
+ types: ['object'], // Workaround for HLL_SNOWFLAKE
107
+ toValue: () => (value) => {
108
+ if (!value) {
109
+ return null;
110
+ }
111
+
112
+ return JSON.stringify(value);
113
114
115
];
116
117
const SnowflakeToGenericType: Record<string, GenericDataBaseType> = {
- // It's a limitation for now, because anyway we dont work with JSON objects in Cube Store.
118
+ // It's a limitation for now, because anyway we don't work with JSON objects in Cube Store.
119
object: 'HLL_SNOWFLAKE',
120
number: 'decimal',
121
timestamp_ntz: 'timestamp'
0 commit comments