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
let plan = ctx
.sql("select p_brand, p_type, p_size, count(distinct ps_suppkey) as supplier_cntfrom partsupp, partwhere p_partkey = ps_partkey and p_brand <> 'Brand#45' and p_type not like 'MEDIUM POLISHED%' and p_size in (49, 14, 23, 45, 19, 3, 36, 9) and ps_suppkey not in ( select s_suppkey from supplier where s_comment like '%Customer%Complaints%')group by p_brand, p_type, p_sizeorder by supplier_cnt desc, p_brand, p_type, p_size; ",).await?
.to_logical_plan()?;let bytes = logical_plan_to_bytes(&plan)?;let logical_round_trip = logical_plan_from_bytes(&bytes,&ctx)?;assert_eq!(format!("{:?}", plan), format!("{:?}", logical_round_trip));
this code logical_plan_from_bytes(&bytes, &ctx)? fails.
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered:
Projection: group_alias_0 AS p_brand, group_alias_1 AS p_type, group_alias_2 AS p_size, COUNT(alias1) AS COUNT(DISTINCT partsupp.ps_suppkey)
Aggregate: groupBy=[[group_alias_0, group_alias_1, group_alias_2]], aggr=[[COUNT(alias1)]]
Aggregate: groupBy=[[part.p_brand AS group_alias_0, part.p_type AS group_alias_1, part.p_size AS group_alias_2, partsupp.ps_suppkey AS alias1]], aggr=[[]]
We have part.p_brand AS group_alias_0 and later group_alias_0 AS p_brand, dropping the qualifier.
Describe the bug
Serialize and Deserialize using q16 in benchmarks failed:
This problem was found in arrow-ballista's benchmarks test: apache/datafusion-ballista#330
To Reproduce
this code
logical_plan_from_bytes(&bytes, &ctx)?
fails.Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: