mirror of
https://github.com/apache/sqoop.git
synced 2025-05-10 22:00:16 +08:00

This patch fixes a bug that prevents importing data into an existing hive table with the 'hive-overwrite' argument set. From: Ahmed Radwan <ahmed@cloudera.com> git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1150043 13f79535-47bb-0310-9956-ffa450edef68
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
|
|
////
|
|
Licensed to Cloudera, Inc. under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
Cloudera, Inc. licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
////
|
|
|
|
Hive options
|
|
~~~~~~~~~~~~
|
|
|
|
--hive-home (dir)::
|
|
Override $HIVE_HOME
|
|
|
|
--hive-import::
|
|
If set, then import the table into Hive
|
|
|
|
--hive-overwrite::
|
|
Overwrites existing data in the hive table if it exists.
|
|
|
|
--create-hive-table::
|
|
If set, then the job will fail if the target hive table exits.
|
|
By default this property is false.
|
|
|
|
--hive-table (table-name)::
|
|
When used with --hive-import, overrides the destination table name
|
|
|