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

Original thrift file #398

Open
chulucninh09 opened this issue Jun 9, 2024 · 3 comments
Open

Original thrift file #398

chulucninh09 opened this issue Jun 9, 2024 · 3 comments
Labels
question Further information is requested

Comments

@chulucninh09
Copy link

Hi, there is a gap between Hive server thrift file and the generated Python code. Where can I get the original thrift file of Python code?

@kravets-levko
Copy link
Collaborator

Hi @chulucninh09! Can you please clarify what you mean? This library's Python code is up to date with thrift file used in Databricks

@chulucninh09
Copy link
Author

chulucninh09 commented Jun 9, 2024

I want to build other binding, but I cannot do that because I don't have original thrift file. When reading around, I got a hint that Databricks JDBC driver is Spark JDBC driver. And Spark JDBC is based on Hive Server 2. But when reading the detailed generated client code, it is not match with Hive Server 2 thrift file.

@susodapop
Copy link
Contributor

FYI Databricks have not publicly shared the original .thrift file that is consumed by Databricks compute. You're correct that the open source HS2 .thrift file is different from what Databricks use in production. If you're trying to develop a new thrift binding I'd recommeond speaking with Databricks customer support to get more information. It's unlikely that the thrift definition would be published in the Python connector repository (where you opened this issue).

@kravets-levko kravets-levko added the question Further information is requested label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants