sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Elmahrek <...@cloudera.com>
Subject Re: Import from Table with special character field name
Date Mon, 01 Jun 2015 14:53:00 GMT
Hey man,

Send over your exception?

If you're having difficulty sending special characters is the terminal, you
might be able to get away with quoting your column names. If you're
importing data that should be treated differently in Sqoop,
"--map-column-java" will do the trick. You can use a "free-form" query to
cast the data types as well. See
for more information there.


On Mon, Jun 1, 2015 at 2:28 PM, Jazz Yao-Tsung Wang <jazzwang.tw@gmail.com>

> If the import table is with special character in field name and
> unsupported data type,
> what can I do with `sqoop --map-column-java` ?
> Such as Oracle Table
> VECTOR$      RAW
> I try following command but fail. Is there any suggestions ?
> sqoop import --connect "jdbc:db2://X.X.X.X:50000/DBSRC" --username jazz -P
> --map-column-java _MABCNO=STRING
> - Jazz

View raw message