Skip to content

[CALCITE-5859] Compile-time evaluation of LEFT(NULL, n) should not throw RuntimeException#3323

Merged
asolimando merged 1 commit intoapache:mainfrom
mihaibudiu:issue5859
Aug 2, 2023
Merged

[CALCITE-5859] Compile-time evaluation of LEFT(NULL, n) should not throw RuntimeException#3323
asolimando merged 1 commit intoapache:mainfrom
mihaibudiu:issue5859

Conversation

@mihaibudiu
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@chunweilei chunweilei left a comment

Choose a reason for hiding this comment

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

LGTM

@mihaibudiu
Copy link
Copy Markdown
Contributor Author

Can this fix for a crash be merged?

@asolimando
Copy link
Copy Markdown
Member

@mihaibudiu, the patch LGTM, but maybe we can update the title of the Jira ticket (and associated the commit message) along the line of "Compile-time evaluation of LEFT(NULL, n) should not throw RuntimeException"? WDYT?

…row RuntimeException

Signed-off-by: Mihai Budiu <mbudiu@gmail.com>
@mihaibudiu mihaibudiu changed the title [CALCITE-5859] Calcite crashes at compilation time when evaluating LEFT(NULL, n) expression [CALCITE-5859] Compile-time evaluation of LEFT(NULL, n) should not throw RuntimeException Aug 1, 2023
@mihaibudiu
Copy link
Copy Markdown
Contributor Author

@asolimando updated the issue name in all places

Copy link
Copy Markdown
Member

@asolimando asolimando left a comment

Choose a reason for hiding this comment

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

Thanks @mihaibudiu for the change, LGTM, will merge 24h from now if there are no objections

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Aug 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

50.0% 50.0% Coverage
60.0% 60.0% Duplication

@asolimando asolimando merged commit 7098677 into apache:main Aug 2, 2023
@mihaibudiu mihaibudiu deleted the issue5859 branch September 1, 2023 17:48
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