Sqoop import - using columns and query


#1
  • table and/or columns is mutually exclusive with query
  • for query split-by is mandatory if num-mappers is greater than 1
  • query should have a placeholder $CONDITIONS
  • with query, we need to specify target-dir not warehouse-dir