Skip to main content

Using COPY to load avro data to Vertica table

  • June 16, 2016
  • 1 reply
  • 11 views

jsonencode

I am using the below command to load the table 'test_table' in vertica. I am using DBVisualizer to run this satatement.  

 

COPY test_table FROM LOCAL '/Users/jsonencode/Downloads/part-r-00000.avro' PARSER favroparser(flatten_records=true,flatten_maps=true,flatten_arrays=true);

 

Sample row from avro file :

{u'Id': u'0123BHYSI', u'Name': u'eCommerce'}
 
When I execute this command, it runs successfully without any error BUT does not load the table with the data. 
 
Am I missing something? Any help is appreciated. 
 
Json
 

 

1 reply

priya1cvr
Forum|alt.badge.img
  • Participating Frequently
  • October 23, 2016

I am also facing the same issue . 

No copy is in progress is the message what i get .

 

Thanks,

Priyabrat