Ezra Zerihun created SQOOP-3461:
-----------------------------------
Summary: Dynamic Partitions in Sqoop import
Key: SQOOP-3461
URL: https://issues.apache.org/jira/browse/SQOOP-3461
Project: Sqoop
Issue Type: New Feature
Reporter: Ezra Zerihun
1) Recently, a customer had the following request to be able to sqoop import
and define --hive-partition-value as a variable. Specifically, they had a table
with a DATE column 'period_id' and wanted to define the partition value as only
the year of period_id, like:
--hive-partition-key 'period_id'
--hive-partition-value '$year(period_id)'
2) Also, similar to SQOOP-2416, they were requesting if multiple partitions
could be defined in a single sqoop import command with hive-partition-key and
hive-partition-value, this is not possible and only possible with
hcatalog-partition-keys and hcatalog-partition-values. [1]
[1]
https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_new_command_line_options
--
This message was sent by Atlassian Jira
(v8.3.4#803005)