[
https://issues.apache.org/jira/browse/SQOOP-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14491330#comment-14491330
]
Qian Xu edited comment on SQOOP-2295 at 4/12/15 4:59 AM:
---------------------------------------------------------
[~abec] I'm a bit confused with this patch of SQOOP-2282. {{--append}} is not
supported for Hive import. But for text file format, Sqoop will append data to
existing Hive table automatically. So instead of an exception, I think:
1. If target Hive table exists, and user gives {{--append}}, we should do
nothing.
2. If target Hive table exists, and user does not give {{--append}}, then we
show a warning (or info message) to remind user the import job will append data.
was (Author: stanleyxu2005):
[~abec] I'm a bit confused with this patch
https://issues.apache.org/jira/browse/SQOOP-2282. {{--append}} is not supported
for Hive import. But for text file format, Sqoop will append data to existing
Hive table automatically. So instead of an exception, I think:
1. If target Hive table exists, and user gives {{--append}}, we should do
nothing.
2. If target Hive table exists, and user does not give {{--append}}, then we
show a warning (or info message) to remind user the import job will append data.
> Hive import with Parquet should append automatically
> ----------------------------------------------------
>
> Key: SQOOP-2295
> URL: https://issues.apache.org/jira/browse/SQOOP-2295
> Project: Sqoop
> Issue Type: Bug
> Reporter: Abraham Elmahrek
> Assignee: Qian Xu
> Fix For: 1.4.7
>
> Attachments: SQOOP-2295.patch
>
>
> Currently, an existing dataset will throw an exception. This differs from
> --as-textfile.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)