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

chore: Split functions crate into multi crates #17133

Merged
merged 6 commits into from
Dec 31, 2024

Conversation

TCeason
Copy link
Collaborator

@TCeason TCeason commented Dec 27, 2024

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@TCeason TCeason marked this pull request as draft December 27, 2024 11:35
@github-actions github-actions bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Dec 27, 2024
@TCeason
Copy link
Collaborator Author

TCeason commented Dec 27, 2024

Before split:

image

In pr:

image

So I think no need to split variant, string and others...

…ns-scalar-arithmetic-modulo databend-functions-scalar-datetime databend-functions-scalar-decimal-utils
@TCeason
Copy link
Collaborator Author

TCeason commented Dec 27, 2024

In the 069117a commit :
we split databend-functions-scalar-arithmetic databend-functions-scalar-arithmetic-modulo databend-functions-scalar-datetime databend-functions-scalar-decimal-utils.

databend-functions-scalar-arithmetic is slowest. because it has more macros.
image

@TCeason
Copy link
Collaborator Author

TCeason commented Dec 30, 2024

In commit b35433d

image

@TCeason TCeason marked this pull request as ready for review December 30, 2024 12:26
@TCeason TCeason marked this pull request as draft December 30, 2024 12:26
@TCeason TCeason marked this pull request as ready for review December 30, 2024 13:08
@sundy-li sundy-li added the ci-benchmark-cloud Benchmark: run only cloud tests for tpch/hits label Dec 30, 2024
Copy link
Contributor

Docker Image for PR

  • tag: pr-17133-2cd0552-1735570317

note: this image tag is only available for internal use,
please check the internal doc for more details.

@sundy-li sundy-li added this pull request to the merge queue Dec 30, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 30, 2024
@TCeason TCeason added this pull request to the merge queue Dec 31, 2024
@BohuTANG BohuTANG removed this pull request from the merge queue due to a manual request Dec 31, 2024
@BohuTANG BohuTANG merged commit ddb5c7d into databendlabs:main Dec 31, 2024
87 checks passed
youngsofun pushed a commit to youngsofun/databend that referenced this pull request Jan 10, 2025
* chore: Split functions crate into multi crates

* split new crate databend-functions-scalar-arithmetic databend-functions-scalar-arithmetic-modulo databend-functions-scalar-datetime databend-functions-scalar-decimal-utils

* split numeric basic arithmetic and other bit arithmetic

* fix ut

* restore int/double arithmetic

* fix
sundy-li pushed a commit that referenced this pull request Jan 10, 2025
* chore: Split functions crate into multi crates (#17133)

* chore: Split functions crate into multi crates

* split new crate databend-functions-scalar-arithmetic databend-functions-scalar-arithmetic-modulo databend-functions-scalar-datetime databend-functions-scalar-decimal-utils

* split numeric basic arithmetic and other bit arithmetic

* fix ut

* restore int/double arithmetic

* fix

* feat(query): load ndjson support ts with diff units. (#17203)

* feat(query): load ndjson/csv/tsv support ts with diff units.

* fix

* refactor

* refactor

* fix clippy

---------

Co-authored-by: TCeason <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-benchmark-cloud Benchmark: run only cloud tests for tpch/hits pr-chore this PR only has small changes that no need to record, like coding styles.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split functions crate into multi crates
3 participants