我有一个Sqoop
导入来从Oracle引入数据,并在两个表上加入。我需要根据两个表中常见的列来执行--incremental last-modified
:
--query "SELECT customer_info.customer_id, customer_info.customer_name,
customer.date_created, sales_info.last_update_date as sales_last_update_date
from customer_info
inner join
sales_info ON customer_info.customer_id = sales_info.customer_id
AND \$CONDITIONS" \
--split-by "customer_id" \
--fields-terminated-by '\t' \
--target-dir (name_of_dir) \
--incremental lastmodified \
--check-column sales_last_update_date \
last_update_date
在两个列上都很常见。
但我收到错误:
ORA-00904: "sales_last_update_date": invalid identifier