Oleks V

Results 60 comments of Oleks V

Hi @andygrove Ive run in local ballista ``` SELECT count(distinct c1) as cnt_distinct FROM aggregate_test_100 ``` And the result is expected ``` +--------------+ | cnt_distinct | +--------------+ | 5 |...

I checked the backtrace ``` 2: datafusion_physical_expr::aggregate::build_in::create_aggregate_expr at ./datafusion/physical-expr/src/aggregate/build_in.rs:75:13 3: datafusion::physical_plan::planner::create_aggregate_expr_with_name at ./datafusion/core/src/physical_plan/planner.rs:1347:13 4: datafusion::physical_plan::planner::create_aggregate_expr at ./datafusion/core/src/physical_plan/planner.rs:1390:5 5: datafusion::physical_plan::planner::DefaultPhysicalPlanner::create_initial_plan::{{closure}}::{{closure}} at ./datafusion/core/src/physical_plan/planner.rs:525:29 ``` sounds weird, but I didn't notice ballista modules...

> > Hi @andygrove Ive run in local ballista > > The issue is specific to distributed mode because it is the serde that has the hard-coded value Is there...

@alamb this issue description confronts with #3123 Which one should be done?

@alamb I checked 3 options ``` DataFusion CLI v11.0.0 ❯ select make_array(1,2,'3'); +----------------------------------------+ | makearray(Int64(1),Int64(2),Utf8("3")) | +----------------------------------------+ | [1, 2, 3] | +----------------------------------------+ 1 row in set. Query took 0.006...

@alamb it appears we have 2 code bases for supporting arrays: - built in scalar function that drives `make_array(x, y)` function - sql planner that drives `array[x, y]` or `[x,...

Yes, we can support all 3 of them. My concern there are 2 different codebases, and no easy way to find a common denominator for them. I can make all...

@alamb one more thing I found `make_array` works on coerce expressions, and coerce doesn' consider first element as driving cast element. Rather it finds common type among all array values....

Hi @andygrove, reg to your config comment https://github.com/apache/arrow-datafusion/pull/3522#issuecomment-1252865493 We refused to introduce automatic cast in `get_bool`, `get_u64`. `I would like to be able to pass string for any config and...