You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "thswlsqls (via GitHub)" <gi...@apache.org> on 2026/07/15 03:45:24 UTC
[PR] [hive] Correct column.name.delimiter property key in HiveSchema [paimon]
thswlsqls opened a new pull request, #8641:
URL: https://github.com/apache/paimon/pull/8641
### Purpose
fix #8640
- `HiveSchema.extract()` read the Hive column-name delimiter with a misspelled key `"column.name.delimite"` (missing trailing `r`), so a custom `column.name.delimiter` was ignored and column names were always split on the default comma.
- Correct the key to `"column.name.delimiter"`, matching Hive's `serdeConstants.COLUMN_NAME_DELIMITER`.
- Completes merged PR #8545, which fixed the same key in the sibling `PaimonRecordReader.getHiveColumns()` (`mapred/PaimonRecordReader.java`) but missed `HiveSchema`.
### Tests
- Added `HiveTableSchemaTest#testExtractSchemaWithCustomColumnNameDelimiter` splitting `a;b;c` with delimiter `;` and asserting field names `[a, b, c]`; fails before the fix (single field), passes after.
- `mvn -pl paimon-hive/paimon-hive-connector-common test` passed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [hive] Correct column.name.delimiter property key in HiveSchema [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8641:
URL: https://github.com/apache/paimon/pull/8641
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [hive] Correct column.name.delimiter property key in HiveSchema [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #8641:
URL: https://github.com/apache/paimon/pull/8641#issuecomment-4979423951
+1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org