- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Sqoop import with conditions
- Labels:
-
Apache Sqoop
Created ‎11-08-2017 10:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎11-08-2017 11:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you put the query in quotes and check .
--query "select * hgj where date(starttime)=2017-08-08"
For incremental, if you provide --last-value it will import only the new or updated data after that date. Read more here
https://sqoop.apache.org/docs/1.4.1-incubating/SqoopUserGuide.html#_Incremental_Imports
Thanks,
Aditya
Created ‎11-08-2017 11:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you put the query in quotes and check .
--query "select * hgj where date(starttime)=2017-08-08"
For incremental, if you provide --last-value it will import only the new or updated data after that date. Read more here
https://sqoop.apache.org/docs/1.4.1-incubating/SqoopUserGuide.html#_Incremental_Imports
Thanks,
Aditya
Created ‎11-09-2017 02:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please use the below query format
--query "select * hgj where date(starttime)=2017-08-08 AND \$CONDITIONS"
Thanks,
Aditya
