Skip to content

Conversation

@rluvaton
Copy link
Member

@rluvaton rluvaton commented Jan 5, 2025

Extracted from:

Rationale for this change

Making it easier to find functions and add stuff at the right location

the sub folder name are named after Spark ExpressionDescription group property

image

What changes are included in this PR?

just reorder files and extract functions there are no logic changes

How are these changes tested?

Existing tests

@andygrove andygrove changed the title extract math_funcs expressions to folders based on spark grouping chore: extract math_funcs expressions to folders based on spark grouping Jan 5, 2025
@andygrove
Copy link
Member

@rluvaton I managed to get most of these PRs merged. Would you have time to help fix merge conflicts on this one?

@rluvaton

This comment was marked as resolved.

# Conflicts:
#	native/spark-expr/src/comet_scalar_funcs.rs
#	native/spark-expr/src/lib.rs
#	native/spark-expr/src/scalar_funcs.rs
#	native/spark-expr/src/scalar_funcs/hash_expressions.rs
@rluvaton
Copy link
Member Author

@andygrove Can you please start the CI?

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.46%. Comparing base (2588e13) to head (9289a44).

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #1219       +/-   ##
=============================================
+ Coverage     34.72%   57.46%   +22.74%     
+ Complexity      992      961       -31     
=============================================
  Files           117      114        -3     
  Lines         45046    11173    -33873     
  Branches       9901     2137     -7764     
=============================================
- Hits          15640     6421     -9219     
+ Misses        26253     3639    -22614     
+ Partials       3153     1113     -2040     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andygrove andygrove merged commit 517c255 into apache:main Jan 20, 2025
74 checks passed
@rluvaton rluvaton deleted the extract-math-funcs branch January 20, 2025 08:48
coderfender pushed a commit to coderfender/datafusion-comet that referenced this pull request Dec 13, 2025
…ing (apache#1219)

* extract math_funcs expressions to folders based on spark grouping

* fix merge conflicts and move chr to `string_funcs`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants