Skip to content

Conversation

@LiaCastaneda
Copy link

  • Add support for Arrow Dictionary type in Substrait

This commit adds support for the Arrow Dictionary type in Substrait plans.

Resolves apache#16273

  • Add more specific type variation consts

(cherry picked from commit d359d64)

Which issue does this PR close?

  • Closes #.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

jkosh44 and others added 2 commits July 28, 2025 17:49
* Add support for Arrow Dictionary type in Substrait

This commit adds support for the Arrow Dictionary type in Substrait
plans.

Resolves apache#16273

* Add more specific type variation consts

(cherry picked from commit d359d64)
})),
}),
// TODO: DataDog-specific workaround, don't commit upstream
DataType::Dictionary(_, dt) => to_substrait_type(dt, nullable),
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added here #28 , I don't think its necessary anymore as now we have proper handling

@LiaCastaneda LiaCastaneda marked this pull request as ready for review July 28, 2025 16:18
@LiaCastaneda
Copy link
Author

/merge

@dd-devflow-routing-codex
Copy link

dd-devflow-routing-codex bot commented Jul 28, 2025

View all feedbacks in Devflow UI.

2025-07-28 17:18:25 UTC ℹ️ Start processing command /merge


2025-07-28 17:18:39 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in branch-48 is approximately 0s (p90).


2025-07-28 17:18:44 UTC ℹ️ MergeQueue: This merge request was already merged

This pull request was merged directly.

@LiaCastaneda LiaCastaneda merged commit 60417fb into branch-48 Jul 28, 2025
54 of 55 checks passed
@gabotechs gabotechs changed the title Add support for Arrow Dictionary type in Substrait (#16608) [branch-48] Add support for Arrow Dictionary type in Substrait (#16608) Aug 4, 2025
geoffreyclaude pushed a commit that referenced this pull request Sep 2, 2025
* dissallow pushdown of volatile PhysicalExprs

* fix

* add FilteredVec helper to handle filter / remap pattern (#34)

* checkpoint: Address PR feedback in https://github.com/apach...

* add FilteredVec to consolidate handling of filter / remap pattern

* lint

* Add slt test for pushing volatile predicates down (#35)

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
LiaCastaneda pushed a commit that referenced this pull request Sep 2, 2025
* dissallow pushdown of volatile PhysicalExprs

* fix

* add FilteredVec helper to handle filter / remap pattern (#34)

* checkpoint: Address PR feedback in https://github.com/apach...

* add FilteredVec to consolidate handling of filter / remap pattern

* lint

* Add slt test for pushing volatile predicates down (#35)

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
(cherry picked from commit 94e8548)
LiaCastaneda added a commit that referenced this pull request Sep 9, 2025
* Enable physical filter pushdown for hash joins (apache#16954)

(cherry picked from commit b10f453)

* Add ExecutionPlan::reset_state (apache#17028)

* Add ExecutionPlan::reset_state

Co-authored-by: Robert Ream <robert@stably.io>

* Update datafusion/sqllogictest/test_files/cte.slt

* Add reference

* fmt

* add to upgrade guide

* add explain plan, implement in more plans

* fmt

* only explain

---------

Co-authored-by: Robert Ream <robert@stably.io>

* Add dynamic filter (bounds) pushdown to HashJoinExec (apache#16445)

(cherry picked from commit ff77b70)

* Push dynamic pushdown through CooperativeExec and ProjectionExec (apache#17238)

(cherry picked from commit 4bc0696)

* Fix dynamic filter pushdown in HashJoinExec (apache#17201)

(cherry picked from commit 1d4d74b)

* Fix HashJoinExec sideways information passing for partitioned queries (apache#17197)

(cherry picked from commit 64bc58d)

* disallow pushdown of volatile functions (apache#16861)

* dissallow pushdown of volatile PhysicalExprs

* fix

* add FilteredVec helper to handle filter / remap pattern (#34)

* checkpoint: Address PR feedback in https://github.com/apach...

* add FilteredVec to consolidate handling of filter / remap pattern

* lint

* Add slt test for pushing volatile predicates down (#35)

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
(cherry picked from commit 94e8548)

* fix bounds accumulator reset in HashJoinExec dynamic filter pushdown (apache#17371)

---------

Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
Co-authored-by: Robert Ream <robert@stably.io>
Co-authored-by: Jack Kleeman <jackkleeman@gmail.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants