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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -