You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by "Zebeljan, Nebojsa" <ne...@adtech.com> on 2012/10/26 14:32:45 UTC

HIVE - "insert overwrite" via jdbc creates ".avro" extension

Hi,
I'm writing hive results to a file with

  1.  HIVE command line client
  2.  Via jdbc (Java app or Squirrel)

First of all, all created files are equal – same content, md5sum equal …

But the file naming is different:

  1.  created via hive command line the name is "000000_0"
  2.  Created via jdbc (Java app or Squirrel) the name is "000000_0.avro"

Does anyone of you know where the extension ".avro" is coming from

My hive-sql statements looks like this:
"insert overwrite local directory '/some/local/path/result * from some_table;"

Thanks in advance!

Regards,
Nebo