5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 04:11:44 +08:00

Extending docs

Change-Id: I42519b74380567956ec447abd4d55ed2ea223302
This commit is contained in:
Daniel Voros 2019-04-05 13:35:51 +02:00
parent 43aedab8d4
commit 0daedaca36

View File

@ -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
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
^^^^^^^^^^^^^^^^^^^
@ -702,6 +707,9 @@ $ sqoop import --table SomeTable --jar-file 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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
There are some additional properties which can be configured by modifying