select
[('a', 'b', ('obis_code', 2, 3), 3, 'data_type', 2, NULL) ]::Nested(
a Nullable(String),
b Nullable(String),
c Tuple(Nullable(String), Nullable(Int32), Nullable(Int32)),
d Nullable(Int32),
e Nullable(String),
f Nullable(Int32),
g Nullable(Decimal(14, 6))
);
when format with prettier sql change to :
select
[('a', 'b', ('obis_code', 2, 3), 3, 'data_type', 2, NULL)]:: Nested (
a Nullable (String),
b Nullable (String),
c Tuple (Nullable (String), Nullable (Int32), Nullable (Int32)),
d Nullable (Int32),
e Nullable (String),
f Nullable (Int32),
g Nullable (Decimal (14, 6))
);
"]::Nested" convert to ":: Nested " !
default dialect : n1sql.
other dialect exception in some case !
this is normal sql query in clickhouse .
when format with prettier sql change to :
"]::Nested" convert to ":: Nested " !
default dialect : n1sql. other dialect exception in some case !