-
Notifications
You must be signed in to change notification settings - Fork 913
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
[KYUUBI #728] Support SQL State: 0A000 - feature_not_supported #729
Conversation
Codecov Report
@@ Coverage Diff @@
## master #729 +/- ##
=======================================
Coverage 80.49% 80.50%
=======================================
Files 122 122
Lines 4748 4749 +1
Branches 576 576
=======================================
+ Hits 3822 3823 +1
Misses 605 605
Partials 321 321
Continue to review full report at Codecov.
|
we shall call this at FrontendService for unsupported features |
@@ -81,6 +81,10 @@ object KyuubiSQLException { | |||
} | |||
} | |||
|
|||
def featureNotSupported(): KyuubiSQLException = { | |||
KyuubiSQLException("feature not supported", sqlState = "0A000") | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you invoke it in the FrontendService for unsupported operation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
thanks, merging to master for v1.3.0 |
Why are the changes needed?
Follow #670 to:
Apply errorCode 0A000: feature_not_supported to val errStatus = KyuubiSQLException("Feature is not @available").toTStatus
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before make a pull request