blob: 97263561ae0ae82c88ad67a59aceafc6fc17cfc2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
$tupleVariantType = Variant<Int32, String>;
$optionalData = [
<|variantValue: Just(Variant(1, "0", $tupleVariantType))|>,
<|variantValue: Nothing(OptionalType($tupleVariantType))|>,
<|variantValue: Just(Variant("hello", "1", $tupleVariantType))|>,
];
SELECT Way(variantValue) AS way FROM as_table($optionalData);
|