You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot convert type UInt8 to Variant(String, UInt64). Parallel replicas variant type conversion #74366
bugConfirmed user-visible misbehaviour in official releasecomp-parallel-replicasParallel reading from replicas for query speed (not data replication consistency).
set allow_experimental_variant_type=1;
create table test (v Variant(String, UInt64)) engine=MergeTree ORDER BY tuple();
insert into test values (42), ('Hello'), (NULL);
select * from test where v = 42::UInt64::Variant(String, UInt64);
02990_variant_where_cond: [ FAIL ]
Reason: return code: 70
Received exception from server (version 25.1.1):
Code: 70. DB::Exception: Received from localhost:9000. DB::Exception: Cannot convert type UInt8 to Variant(String, UInt64). Conversion to Variant allowed only for types from this Variant: In scope SELECT __table1.v AS v FROM test_1sap69qb.test AS __table1 WHERE __table1.v = _CAST(42, 'Variant(String, UInt64)'). (CANNOT_CONVERT_TYPE)
(query: select * from test where v = 42::UInt64::Variant(String, UInt64);)
bugConfirmed user-visible misbehaviour in official releasecomp-parallel-replicasParallel reading from replicas for query speed (not data replication consistency).
Activity
Address review: compare against golden tile bytes instead of skipping…
Add `no-parallel-replicas` tag to `04507_mvt_encode_state_serialize`
Tag the new test as no-parallel-replicas
Add `no-parallel-replicas` tag to `04507_mvt_encode_state_serialize`
Address review: compare against golden tile bytes instead of skipping…
Serialize a Variant constant nested in an Array, Tuple or Map exactly