i'm able to sqoop the Teradata table into Hive Cloudera sucessfully, But Teradata table has column name with Space and special characters like "Material ID", "Active/InActive" like this, but in hive this not standard and facing lot of issues while querying.
How to remove spaces and special characters in column name while inserting?
i'm using below sqoop command,
sqoop import --connect "jdbc:teradata://ABCD/database=db1,logmech=LDAP" \
--username **** \
--password **** \
--hive-import \
--hive-overwrite \
--hive-database abc_stg \
--hive-table product_dim \
--query "select * from product_dim where \$CONDITIONS" \
--target-dir /dev/edl/md/addy/str/abc_stg/product_dim \
--fields-terminated-by '|' -m 1 --delete-target-dir