Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Spark’s FunctionCatalog for Existing Transformations #5349

Closed
kbendick opened this issue Jul 24, 2022 · 2 comments · Fixed by #5431 or #5513
Closed

Implement Spark’s FunctionCatalog for Existing Transformations #5349

kbendick opened this issue Jul 24, 2022 · 2 comments · Fixed by #5431 or #5513

Comments

@kbendick
Copy link
Contributor

kbendick commented Jul 24, 2022

We need to implement Spark’s FunctionCatalog so that we can use the partition transformation functions in queries.

This allows for using the partition transforms on non-partition columns in generated code.

This is necessary in order to write Catalyst rules which will pass bucket So that storage partitioned joins (aka bucketed joins) can be implemented.

See also:

The functions we have that are likely highest priority:

  • truncate
  • bucket
  • zorder
  • date transformations
@kbendick kbendick changed the title Implement Spark’s FunctionCatalog for Existing Transform functions Implement Spark’s FunctionCatalog for Existing Transformations Jul 24, 2022
@kbendick
Copy link
Contributor Author

kbendick commented Jul 24, 2022

This will allow us to make use of Spark’s storage partitioned joins (aka bucket joins which is one subset of possible join optimizations of transformed columns) https://issues.apache.org/jira/browse/SPARK-37166

@kbendick
Copy link
Contributor Author

This relates to #430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant