Skip to content

Commit cc5d467

Browse files
HCK-11336: fix variant data type conversion to polyglot (#194)
* HCK-11336: fix variant data type conversion to polyglot * HCK-11336: update convert adapter
1 parent af4d496 commit cc5d467

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

polyglot/convertAdapter.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@
7676
"to": {
7777
"hasMaxLength": true
7878
}
79+
},
80+
{
81+
"from": {
82+
"type": "variant"
83+
},
84+
"to": {
85+
"type": "binary",
86+
"childType": "blob",
87+
"mode": "variant"
88+
}
7989
}
8090
]
8191
}

types/variant.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"name": "variant",
1111
"jsonRoot": true
1212
},
13+
"restrictNormalization": true,
1314
"defaultValues": {
1415
"primaryKey": false,
1516
"mode": "var",

0 commit comments

Comments
 (0)