I'm trying to import data from Oracle to hive. There is column in Oracle 'LOAD_DATE' and its values are in the format '8/13/2015 2:55:17 AM'. After importing I'm getting the value like '2015-08-13 02:55:17.0'. 'AM' is missing in the imported data. Please give a solution to import the correct data.
This is the command I'm triggering,
sqoop import --connect jdbc:oracle:thin:@ipaddr/dbname --username uname --password pword --table tname --hive-import --hive-table dbname.tname -m 1 --null-string '\N' --null-non-string '\N' --warehouse-dir /user/hive/warehouse/dbname.db/tname
LOAD_DATE
column? – Lalit Kumar B