mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 03:59:18 +08:00
Extending docs
Change-Id: I42519b74380567956ec447abd4d55ed2ea223302
This commit is contained in:
parent
43aedab8d4
commit
0daedaca36
@ -348,6 +348,11 @@ For example _AVRO will be converted to __AVRO.
|
|||||||
In the case of HCatalog imports, column names are converted to lower case when
|
In the case of HCatalog imports, column names are converted to lower case when
|
||||||
mapped to HCatalog columns. This may change in future.
|
mapped to HCatalog columns. This may change in future.
|
||||||
|
|
||||||
|
During Avro imports the table's schema is saved in an +.avsc+ file under the
|
||||||
|
output directory (configured via +\--bindir+). The +\--class-name+ option can
|
||||||
|
be used to change the resulting file's name, which defaults to the table name
|
||||||
|
or in case of +\--query+ imports to +AutoGeneratedSchema+.
|
||||||
|
|
||||||
Incremental Imports
|
Incremental Imports
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@ -702,6 +707,9 @@ $ sqoop import --table SomeTable --jar-file mydatatypes.jar \
|
|||||||
|
|
||||||
This command will load the +SomeTableType+ class out of +mydatatypes.jar+.
|
This command will load the +SomeTableType+ class out of +mydatatypes.jar+.
|
||||||
|
|
||||||
|
NOTE: The +\--class-name+ option also affects the +.avsc+ file's name
|
||||||
|
generated during Avro imports.
|
||||||
|
|
||||||
Additional Import Configuration Properties
|
Additional Import Configuration Properties
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
There are some additional properties which can be configured by modifying
|
There are some additional properties which can be configured by modifying
|
||||||
|
Loading…
Reference in New Issue
Block a user