blob: afae9d0bc2f8f31c845f59cddd682aebe26e28cb [file] [log] [blame]
sqoop-create-hive-table(1)
==========================
NAME
----
sqoop-create-hive-table - Create a Hive table definition based on a
database table definition.
SYNOPSIS
--------
'sqoop-create-hive-table' <generic-options> <tool-options>
'sqoop create-hive-table' <generic-options> <tool-options>
DESCRIPTION
-----------
include::../user/create-hive-table-purpose.txt[]
OPTIONS
-------
The +--connect+ and +--table+ options are required.
include::common-args.txt[]
Hive options
~~~~~~~~~~~~
--hive-home (dir)::
Override $HIVE_HOME
--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 exists.
By default this property is false.
--hive-table (table-name)::
When used with --hive-import, overrides the destination table name
--table (table-name)::
The table to read (required)
include::output-args.txt[]
ENVIRONMENT
-----------
See 'sqoop(1)'
////
Copyright 2011 The Apache Software Foundation
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF 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.
////