Skip to content

[hive] Fix Hive read failure for CHAR/VARCHAR columns exceeding Hive length limits - #9075

Merged
JingsongLi merged 1 commit into
apache:masterfrom
thswlsqls:fix/hive-objectinspector-char-varchar-length-clamp
Aug 6, 2026
Merged

[hive] Fix Hive read failure for CHAR/VARCHAR columns exceeding Hive length limits#9075
JingsongLi merged 1 commit into
apache:masterfrom
thswlsqls:fix/hive-objectinspector-char-varchar-length-clamp

Conversation

@thswlsqls

Copy link
Copy Markdown
Contributor

Purpose

fix #9074

Tests

  • Added PaimonObjectInspectorFactoryTest#testCreateCharVarcharObjectInspectorExceedingHiveLimit and #testCreateCharVarcharObjectInspectorWithinHiveLimit.
  • mvn -pl paimon-hive/paimon-hive-connector-common clean install passed on JDK 11 — 102 unit tests and 83 *ITCase tests, plus checkstyle, spotless and enforcer.
  • Reverting the fix and rerunning makes the three new positive assertions fail with the original exception.

@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi
JingsongLi merged commit 41ff7d5 into apache:master Aug 6, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants