I have file like this:
1^%~binod^*~1^%~ritesh^*~1^%~shisir^*~1^%~budhdha^*~1^%~romika^*~1^%~rubeena^*~
Where --input-fields-terminated-by '^%~' --input-lines-terminated-by '^*~'.
I tried to export via command:
sqoop export --connect jdbc:mysql://localhost/sqoop --username root -P --table makalu --export-dir sqoop/makalu --input-fields-terminated-by '^%~' --input-lines-terminated-by '^*~'
But it writes a single line of:
id|name 1|%~binod
in MySQL.
- Now my question is what would be the command to solve this scenario.