Import individual Sql server table

sqoop import –connect jdbc:sqlserver://10.206.97.109:1433 –username testUser -P –query ‘select * From Test.dbo.demotable where $CONDITIONS’ –as-parquetfile –target-dir=/user/hive/warehouse –hive-import –hive-table demotable –split-by date

Leave a Reply

Your email address will not be published. Required fields are marked *