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

Add spark check_overflow function and cast toDecimal32/64/128 #231

Merged
merged 2 commits into from
Dec 13, 2022

Conversation

loneylee
Copy link

@loneylee loneylee commented Dec 9, 2022

Changelog category (leave one):

  • New Feature
  • Improvement
  • Bug Fix (user-visible misbehaviour in official stable or prestable release)
  • Performance Improvement
  • Backward Incompatible Change
  • Build/Testing/Packaging Improvement
  • Documentation (changelog entry is not required)
  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...

Information about CI checks: https://clickhouse.tech/docs/en/development/continuous-integration/

@kyligence-git
Copy link
Collaborator

Can one of the admins verify this patch?

@loneylee
Copy link
Author

retest this please

@loneylee
Copy link
Author

test this please with 691

@@ -182,6 +182,35 @@ std::shared_ptr<DB::ActionsDAG> SerializedPlanParser::expressionsToActionsDAG(
return actions_dag;
}

std::string getDecimalFunction(const substrait::Type_Decimal & decimal, const bool nullOnOverflow) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

参数名小写

Copy link
Author

Choose a reason for hiding this comment

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

fix

Copy link
Collaborator

@liuneng1994 liuneng1994 left a comment

Choose a reason for hiding this comment

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

LGTM

@liuneng1994 liuneng1994 merged commit dc9b918 into Kyligence:clickhouse_backend Dec 13, 2022
@loneylee loneylee deleted the uttest branch December 13, 2022 07:17
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