Uh oh!
There was an error while loading. Please reload this page.
Phoenix 331- Phoenix-Hive initial commit - #74
Conversation
added Phoenix Hive first phase of code
First UTs
There was a problem hiding this comment.
Please remove these tags. This should just be a javadoc explaining the high level functionality of the class. Look at some other class in Phoenix if you want to get an idea...
mravi
commented
Apr 24, 2015
Thanks a lot for the patch @nmaillard . Couple of additional minor fixes
|
There was a problem hiding this comment.
Who does the datatype conversion from Hive to Phoenix?
There was a problem hiding this comment.
The type conversion is all done in HiveTypeUtil, HiveType2PdataType does Hive to phoenix.
In PhoenixHiveDBWritable the write class leverage that information to create the prepared statement. T extends DBWritable and is a PhoenixHiveDBWritable in a this instance.
Some complex types like Array are still missing, this will be follow up work
Refactor based on initial feedback
There was a problem hiding this comment.
Why is this code repeated, as it's in the base MR integration already?
JamesRTaylor
commented
May 9, 2015
This is looking good, @nmaillard. Still some copy/paste code that we should aim to cleanup. Also, take care that no exceptions are swallowed. Wrap checked exceptions in a SQLException if it's declared in the method and otherwise wrap in a RuntimeException and throw it. Also, make sure to remove or convert all System.out.println calls to logging instead. |
JamesRTaylor
commented
May 9, 2015
@mravi - would you mind giving this a review? |
stoty
commented
Aug 1, 2023
Already merged. |
No description provided.