Results 13 issues of Peter Toth

### What changes were proposed in this pull request? Keep the output attributes of a `Union` node's first child in the `RemoveRedundantAliases` rule to avoid correctness issues. ### Why are...

SQL

## What changes were proposed in this pull request? Upgrade Jetty to 9.4.18.v20190429 to fix CVEs. ## How was this patch tested? Existing UTs.

### What changes were proposed in this pull request? When converting a native table metadata representation `CatalogTable` to `HiveTable` make sure bucket spec uses an existing column. ### Does this...

SQL

### What changes were proposed in this pull request? Currently `AliasAwareOutputPartitioning` takes only the last alias by aliased expressions into account. We could avoid more shuffles with better alias handling....

SQL

### What changes were proposed in this pull request? After https://github.com/apache/spark/pull/32298 we were able to merge scalar subquery plans, but DSv2 sources couldn't benefit from that improvement. The reason for...

SQL

## Which issue does this PR close? Part of https://github.com/apache/arrow-datafusion/issues/8913 ## Rationale for this change 1. The `TreeNode.rewrite()` / `TreeNodeRewriter` is very inconsistent with other `TreeNode` apply / visit functions:...

sql
logical-expr
physical-expr
optimizer
core

### What changes were proposed in this pull request? This PR adds recursive query feature to Spark SQL. A recursive query is defined using the `WITH RECURSIVE` keywords and referring...

SQL
DOCS

### What changes were proposed in this pull request? After https://github.com/apache/spark/pull/32298 we were able to merge scalar subquery plans. This PR is a follow-up improvement to the merging logic to...

SQL

## Which issue does this PR close? Part of https://github.com/apache/datafusion/issues/10121, required for https://github.com/apache/datafusion/issues/10505 and https://github.com/apache/datafusion/issues/10426. ## Rationale for this change The current `TreeNode` visitor APIs (`TreeNode::visit()` and `TreeNode::apply()`) have a...

logical-expr
physical-expr
optimizer
core

This is a draft PR that implements the ideas from https://github.com/apache/datafusion/issues/10426#issuecomment-2105664520. ## Which issue does this PR close? Closes https://github.com/apache/datafusion/issues/10426. ## Rationale for this change ## What changes are included...

logical-expr
optimizer
sqllogictest