Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

sqoop custom lines terminated by parameter

avatar
Rising Star

We are using hdp 2.5.3 and sqoop version "1.4.6.2.5.3.0-37". Please let us know if any one used custom delimiter for line(record) other than default newline '\n' delimiter ?

Sqoop guide no details mentioned on this.

https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html

--lines-terminated-by <char> Sets the end-of-line character

We have requirement to use octal character 016 as record delimiter.

1 ACCEPTED SOLUTION

avatar
@RajuKV

The table definition "LINES TERMINATED BY" only supports newline '\n' right now. This is a known issue and Jira Hive 11996 has already been raised for the issue.

View solution in original post

2 REPLIES 2

avatar
@RajuKV

The table definition "LINES TERMINATED BY" only supports newline '\n' right now. This is a known issue and Jira Hive 11996 has already been raised for the issue.

avatar
Rising Star

Thanks @Sindhu we wish soon this JIRA will get a fix.