185.Sqoop Import – Using Split By

  • Command to import table and divide the data into multiple splits based on specified column.
    • sqoop import --connect jdbc:mysql://ms.itversity.com:3306/retail_db --username retail_user --password itversity --table order_items --warehouse-dir /user/training/sqoop_import/retail_db --delete-target-dir --split-by order_item_order_id

Share this post