Skip to content

Instantly share code, notes, and snippets.

@prasku5
Last active May 2, 2018 18:39
Show Gist options
  • Save prasku5/16c1aa24386fd0c5bc4e6feee833920b to your computer and use it in GitHub Desktop.
Save prasku5/16c1aa24386fd0c5bc4e6feee833920b to your computer and use it in GitHub Desktop.
sqoop import \
--connect jdbc:mysql://localhost/source_database_name \ (This is the path to access the Source DB using JDBC Driver)
--username \ (Source Database Username)
--password \ (Source Database password)
--database source_database_name
--table source_table_name \
-m 1
--incremental append \
--check-column <columns_name>
-last value 1205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment