Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-553] Complete the support to cast string type to types like int, bigint, float, double #552

Merged
merged 11 commits into from
Nov 17, 2021

Conversation

PHILO-HE
Copy link
Collaborator

@PHILO-HE PHILO-HE commented Nov 8, 2021

What changes were proposed in this pull request?

With this patch, the operators will not fall back to row-based when meeting the cast cases in the title.

How was this patch tested?

We have tested the patch with ByteDance's q25 and its modified versions.

@github-actions
Copy link

github-actions bot commented Nov 8, 2021

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/oap-project/native-sql-engine/issues

Then could you also rename commit message and pull request title in the following format?

[NSE-${ISSUES_ID}] ${detailed message}

See also:

@PHILO-HE PHILO-HE changed the title Complete the support to cast string type to types like int, bigint, float, double [NSE-553] Complete the support to cast string type to types like int, bigint, float, double Nov 8, 2021
@github-actions
Copy link

github-actions bot commented Nov 8, 2021

#553

@@ -0,0 +1,7 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

git ignore this?

@zhouyuan zhouyuan merged commit fe463d8 into oap-project:master Nov 17, 2021
rui-mo added a commit to rui-mo/native-sql-engine that referenced this pull request Nov 26, 2021
… bigint, float, double (oap-project#552)

* Support casting string type to bigint

* Enable string type cast to int, float, double

* cast string to int/bigint/float/double with ANSI standard considered

* Reverse the behavior when ANSI is enabled

* Temporary commit for jenkins test

* Add support for castINTOrNull, castBIGINTOrNull, castFLOAT4OrNull & castFLOAT8OrNull in code gen

* Fix an issue in code gen

* Fix plan checking

* Ignore config for vscode

* Format the code

* Revert "Temporary commit for jenkins test"

This reverts commit 537bb2a.

Co-authored-by: Rui Mo <rui.mo@intel.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants