-
Notifications
You must be signed in to change notification settings - Fork 930
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
[TASK][MEDIUM] Allow returning custom response for GetInfo request #5371
Comments
Hi @pan3793, I am very interested in this task, can you assign it to me ? Thanks. |
@BruceWong96 thanks, do you have an estimated deadline for this task? |
If everything goes well, I will do my best to finish by November 15th. |
Hello, @pan3793 Thank you. |
I think so. define a configuration prefix, and the user could supply a serial of key-values then.
Not yet. At least it is not covered by this task's scope. But I'm open to discuss the details if you think it's necessary or it's useful in some cases
There were several close-source ODBC driver implementations, which is compatible with the Hive thrift protocol, but may not be used to connect to Kyuubi, because they can not recognize the information returned from GetInfo |
Yea, the client MUST respect the Hive-defined thrift protocol. |
Code of Conduct
Search before creating
Mentor
Skill requirements
Background and Goals
Kyuubi implements the Hive-compatible Thrift-based API, just as Impala and Spark Thrift Server do, so technically, the Hive JDBC/ODBC clients based on Thrift-API should work smoothly with Apache Kyuubi.
Unfortunately, we found some clients verify the GetInfo results and may reject the connection from an unrecognized Server. See details at #3032
After #3122, it allows a return of either SERVER’s information or ENGINE’s information in the GetInfo response, but it is not always sufficient, we may want to make it configurable so that the user can configure Kyuubi to return any information they want, to make it’s easy to impersonate any kind of Server to allow ODBC clients like PowerBI and Tableau to connect.
Implementation steps
Currently, the value candidates of
kyuubi.server.info.provider
areSERVER
andENGINE
, we can introduce a new optionCUSTOM
with additional configuration to allow users to configure each property of GetInfo response.Additional context
Introduction of #6232
The text was updated successfully, but these errors were encountered: