- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
One of the Oracle table has data that has new line char in it. After importing the data using sqoop, I am not able to represent that data in Hive. The row that has new line char is getting split into two rows.
- Labels:
-
Apache Sqoop
Created ‎12-21-2015 08:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎12-21-2015 08:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
check this http://stackoverflow.com/questions/28076200/hive-d...
Use --map-column-java
option to explicitly state the column is of type String
. Then --hive-drop-import-delims
works as expected (to remove \n
from data).
Created ‎12-21-2015 08:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@narasimha meruva Can you past out of errors? HDP version?
Created ‎12-21-2015 08:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
check this http://stackoverflow.com/questions/28076200/hive-d...
Use --map-column-java
option to explicitly state the column is of type String
. Then --hive-drop-import-delims
works as expected (to remove \n
from data).
Created ‎12-22-2015 12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you !!! It did work .
Created ‎12-22-2015 12:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@narasimha meruva Cool! Please close the thread by accepting the answer "best practice"
Created ‎06-15-2018 05:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to remove '/n' while sqoop the data into hdfs. Is there any sqoop cmd?
