Skip to content
This repository was archived by the owner on Jun 29, 2021. It is now read-only.

Conversation

@kaspersorensen
Copy link
Contributor

This PR adds support for Apache Hive via the existing JDBC module.

To do this I had to introduce a new "isTransactional()" flag on IQueryRewriter since commit calls on Hive is not supported.

I also did some cleanup of Hadoop dependencies because I saw Hadoop version conflicts inbetween the "hadoop", "hbase" and now the "jdbc" modules. This caused the Hive connection to fail with class loading issues.

Copy link
Contributor

Choose a reason for hiding this comment

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

With this change we are now setting the autocommit to false only when the isTransactional condition is true, is this what we want?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At least it's what I meant :-) We only have Hive in our portfolio currently that is a "non transactional" JDBC driver. In the case of Hive it is not allowed to call these methods.

Do you have an underlying concern with this specifically?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok got it! Thank you for clarifying, makes sense now.

@albertostratio
Copy link
Contributor

@kaspersorensen I've added some comments, please review.

@albertostratio
Copy link
Contributor

Thank you @kaspersorensen

These changes LGTM

@asfgit asfgit closed this in e02c476 Jul 13, 2015
@kaspersorensen kaspersorensen deleted the feature/hive-support branch October 9, 2015 07:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants