title: Export table to csv from beeline(cli)
body: <p>I want to: Export table from a jdbc:oracle database to a comma delimited csv file from beeline(CLI)  <br/>
  I have tried bcp without success.  <br/>
  I have tried -beeline> bcp "select * from db_name.table_name" queryout "/home/feed/data/inventory.csv";  <br/>
  It gives error as invalid sql statement.  <br/>
  Help is appreciated.</p>