-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support field separator for Hive TEXTFILE #1439
Support field separator for Hive TEXTFILE #1439
Conversation
c2fedef
to
9441119
Compare
return getTextFormatProperty(tableProperties, TEXTFILE_FIELD_SEPARATOR_ESCAPE); | ||
} | ||
|
||
private static Optional<Character> getTextFormatProperty(Map<String, Object> tableProperties, String key) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getTextFormat*Separator*Property
?
also, isn't this equivalent to, but implemented differently than, getCsvSerdeProperty
?
|
||
@Language("SQL") String createTableSql = format("" + | ||
"CREATE TABLE %s.%s.test_create_external (\n" + | ||
" name varchar\n" + | ||
" action varchar,\n" + | ||
" object varchar\n" + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
object
-> name
object may look like some weird data type
9441119
to
e22f096
Compare
e22f096
to
6d248f6
Compare
Support field separator for Hive TEXTFILE