blob: 436ab2c9f1967e0ac8eaf406336bd4125d438939 [file] [log] [blame]
////
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.
////
include::import-common-args.txt[]
--append::
Append data to an existing HDFS dataset
--boundary-query (query)::
Using following query to select minimal and maximal value of '--split-by' column for creating splits
--columns (col,col,col...)::
Columns to export from table
--direct::
Use direct import fast path (MySQL and PostgreSQL)
--direct-split-size (n)::
Split the input stream every 'n' bytes when importing in direct mode.
--inline-lob-limit (n)::
Set the maximum size for an inline LOB
--query (statement)::
Imports the results of +statement+ instead of a table
--split-by (column-name)::
Column of the table used to split the table for parallel import
--split-limit (size)::
Upper Limit for each split size. Optimize Integer and Date columns.
For date or timestamp fields it is calculated in seconds.
--table (table-name)::
The table to import
--temporary-rootdir (path)::
Set location of temporary directory for files created during import (overrides default path "_sqoop")
This option only applies to the "import" command with "--append" or "--incremental lastmodified"
This option has the same affect as using -Dsqoop.test.import.rootDir=<path>
--where (clause)::
Import only the rows for which _clause_ is true.
e.g.: `--where "user_id > 400 AND hidden == 0"`
--null-string::
The string to be written for a null value for string columns
--null-non-string::
The string to be written for a null value for non-string columns