I am trying to import data from DB2 database table with the partition column name. But I am facing below error message.
Please find below screenshot for command and error :-
Add --columns clause in your sqoop statement and mention all columns from the db2 table with the exception of the column which is used for partitioning.
That would fix this issue.
The issue seems to be due to no permission to execute the query as end-user on hive server side.
Please change the 'Run as end user instead of Hive user' and set it to 'true' the 'hive-site.xml' (hive.server2.enable.doAs=true)