0

How can I write queries to extract data on condition based on audit columns like TimeRange, etc.

I am actually looking to filter data based on timestamp i.e. basically extracting data for a specific version

1 Answers1

0

As per Write Drill query output to csv (or some other format)

use dfs.tmp; 
alter session set `store.format`='csv';
create table dfs.tmp.my_output as select * from cp.`employee.json`;
Community
  • 1
  • 1
Joe Harris
  • 13,671
  • 4
  • 47
  • 54