oracle11g - error during sqoop data migration -
i have 1 doubt. trying pull data oracle , want push hdfs
using sqoop 1.4.6
.
the table want migrate contains column named "comment
"(which reserved keyword in oracle), when tried push table hdfs
using sqoop
, error occurred was:
15/09/30 14:52:49 error db.dbrecordreader: top level exception: java.sql.sqlsyntaxerrorexception: ora-00936: missing expression
i have tried putting \ , "
column as: "\"\"comment\"\""
when listed column names during query
so how error fixed..
please try use --query option sqoop import.
eg: sqoop import --query "select comment table_name ....."
Comments
Post a Comment