sqoop-import --connect \ jdbc:mysql://quickstart.cloudera:3306/retail_db \ --username retail_dba --password cloudera \ --table orders \ --warehouse-dir /data \ --incremental lastmodified \ --check-column order_date \ --last-value '2022-04-10 03:21:14.0' --append
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter