0
我試圖使用參數--query在sqoop使用MySQL的函數
--query "select replace(name, '\\0', '')" from example e
執行這樣
SELECT replace(name, '\0', '') FROM example
查詢,但這種方法返回錯誤
ERROR tool.ImportTool: Imported Failed: No column by the name namefound while importing data; expecting one of [id, REPLACE_name___0_____]
任何想法如何解決這個問題?