Does hive/ql/src/test/queries/clientpositive/avro_decimal.q violate avro schema evolution?

2016-11-21 Thread RD
I ask because I was re-looking at https://issues.apache.org/jira/browse/HIVE-4734 and how to support newer data types (Decimal, Varchar, Char) In this qtest, we write using a schema containing a decimal having precision 5 and scale 2 (decimal(5,2)) , but when reading the same data we set the read

Re: Adding a New Primitive Type in Hive

2016-11-21 Thread Alan Gates
A few questions: 1) What operators do you envision UUID supporting? Are there UDFs specific to it? Are there constraints on assuring its uniqueness? 2) A more general form of question 1, what about UUID is different from a string or decimal(20, 0) (either of which should be able to store a UU

Retrieve the file content based on file name

2016-11-21 Thread Arun Patel
Hive Experts, I am using INPUT__FILE__NAME to store the file name in a column of ORC table. Now, Is there a way to retrieve the content of the HDFS file using any Hive function? If there is no function available, Is there a UDF I can use? Thank you very much for help. - Arun