datafusion
datafusion copied to clipboard
Apache DataFusion SQL Query Engine
The newly added `to_char`'s null handling is not quite correct -- specifically when the format string is null, the output should be null, but now it returns the first argument...
### Is your feature request related to a problem or challenge? In the current version of `ProjectionPushdown`, there are some algorithmic limitations and it is not very friendly to be...
### Is your feature request related to a problem or challenge? When I try to implement #6768, I find that the current pushdown on hashjoinexec needs to satisfy strict condition....
This is a follow on ticket to https://github.com/apache/arrow-datafusion/issues/3148 given we have closed so many of the previous items it is hard to see what is still left to do Please...
### Describe the bug originally opened in https://github.com/GlareDB/glaredb/issues/2597 It seems that `arrow_cast`'s special handling makes it so that it errors out when using it in an ORDER BY expr ###...
### Is your feature request related to a problem or challenge? # What does Coalesce do The coalesce function implicitly coerces types with Signature::VariadicEqual which has `comparison_coercion` internally, and the...
### Is your feature request related to a problem or challenge? NVL and Nullif has signature uniform, which iterates valid types and creates many possible types for them ```rust TypeSignature::Uniform(number,...
## Which issue does this PR close? Closes #. ## Rationale for this change Currently datafusion does not implement `grouping` function. https://github.com/apache/datafusion/blob/4edbdd7d09d97f361748c086afbd7b3dda972f76/datafusion/physical-expr/src/aggregate/grouping.rs#L80-L84 ## What changes are included in this PR?...
### Describe the bug Follow the logic like DuckDB, if any of the argument is Null, return Null instead of throwing error ### To Reproduce ``` query error select range(DATE...
### Is your feature request related to a problem or challenge? [Support unnest for struct data type](https://github.com/apache/datafusion/blob/ae4b3a0f8366ab18be5ef5cfa2b3cc3aca12baf1/datafusion/sql/src/expr/function.rs#L304), an example of such feature in Duckdb ``` D CREATE TABLE t1 (s...