Skip to content

Throw proper error code when timezone is invalid from packDateTimeWit…#17363

Merged
tdcmeehan merged 1 commit intoprestodb:masterfrom
amitkdutta:timezone_fix2
Mar 3, 2022
Merged

Throw proper error code when timezone is invalid from packDateTimeWit…#17363
tdcmeehan merged 1 commit intoprestodb:masterfrom
amitkdutta:timezone_fix2

Conversation

@amitkdutta
Copy link
Copy Markdown
Contributor

@amitkdutta amitkdutta commented Feb 26, 2022

During packDateTimeWithZone execution, if an invalid timezone is passed as parameter, we should throw NOT_SUPPORTED error code. Currently this exception is not handled, which eventually throws GENERIC_INTERNAL_ERROR. Previously we handled such cases here: #17241 however it a few more places need to have try catch and throw proper exception.

@tdcmeehan tdcmeehan merged commit 7830670 into prestodb:master Mar 3, 2022
@varungajjala varungajjala mentioned this pull request Mar 22, 2022
9 tasks
@asjadsyed asjadsyed mentioned this pull request Mar 23, 2022
9 tasks
@asjadsyed asjadsyed mentioned this pull request Apr 1, 2022
8 tasks
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.

2 participants