Feng Guangyuan has uploaded a new patch set (#2). Change subject: IMPALA-3622: Unacceptable '\0' used as fields terminator when creating tables ......................................................................
IMPALA-3622: Unacceptable '\0' used as fields terminator when creating tables When a delimiter is sent to Hive, '\0' will be interpreted as "", and "" is not allowed to be a delimiter in Hive or Impala, actually. Impala SQL can't accept an empty string literal as delimiters, but '\0' just escapes this rule, so the bug occurs. This change adds a rule in getXXDelimiter()/getEscapeChar() to return string literal "0" instead of '\0' or '\u0000'. Change-Id: Id67634282ecf0161a3aa7a3d7f8711b49828668e --- M fe/src/main/java/com/cloudera/impala/catalog/RowFormat.java 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/66/3266/2 -- To view, visit http://gerrit.cloudera.org:8080/3266 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Id67634282ecf0161a3aa7a3d7f8711b49828668e Gerrit-PatchSet: 2 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Feng Guangyuan <[email protected]> Gerrit-Reviewer: Jim Apple <[email protected]>
