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

Reduce regex use in CAST #1741

Merged
merged 12 commits into from
Feb 18, 2021
Merged

Conversation

andygrove
Copy link
Contributor

@andygrove andygrove commented Feb 16, 2021

This replaces four uses of regex in CAST with checks for expected length instead.

…puts

Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove self-assigned this Feb 16, 2021
@andygrove andygrove added the performance A performance related task/issue label Feb 16, 2021
@andygrove andygrove added this to the Feb 16 - Feb 26 milestone Feb 16, 2021
@andygrove andygrove changed the base branch from branch-0.5 to branch-0.4 February 16, 2021 23:57
@andygrove andygrove linked an issue Feb 17, 2021 that may be closed by this pull request
@andygrove andygrove changed the title WIP: Reduce regex use in CAST Reduce regex use in CAST Feb 17, 2021
@andygrove andygrove marked this pull request as ready for review February 17, 2021 18:27
Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove
Copy link
Contributor Author

build

@andygrove andygrove merged commit 17289c8 into NVIDIA:branch-0.4 Feb 18, 2021
@andygrove andygrove deleted the optimize-cast-regex-use branch February 18, 2021 20:10
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance A performance related task/issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Reduce regex usage in CAST string to date/timestamp
2 participants