Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
HIVE-22360 intended to fix another MultiDelimitSerde problem (with NULL last columns) but introduced a regression: the approach of the fix is pretty much all wrong, as the existing logic that operated on bytes got replaced by regex matcher logic which deals in character positions, rather than byte positions. As some non ASCII characters consist of more than 1 byte, the whole record may get shifted due to this.
With this ticket I'm going to restore the old logic, and apply the proper fix on that, but keeping (and extending) the test cases added with HIVE-22360 so that we have a solution for both issues.
Attachments
Issue Links
- is caused by
-
HIVE-22360 MultiDelimitSerDe returns wrong results in last column when the loaded file has more columns than those in table schema
- Closed
- links to