Importing Data from HDFS with Sqoop
You can consume a CSV or Parquet file residing in HDFS (Hadoop Distributed File System) into OmniSci Core.
Copy the OmniSci JDBC driver into the Apache Sqoop library, normally found at /usr/lib/sqoop/lib/.
Example
The following is a straightforward import command. For more information on options and parameters for using Apache Sqoop, see the user guide at sqoop.apache.org.
sqoop-export --table iAmATable \ --export-dir /user/cloudera/ \ --connect "jdbc:mapd:000.000.000.0:9091:mapd" \ --driver com.mapd.jdbc.MapDDriver \ --username imauser \ --password imapassword \ --direct \ --batchWhere the
--connect
parameter is the address of a valid JDBC
port on your OmniSci instance.