You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "ArnavBalyan (via GitHub)" <gi...@apache.org> on 2026/08/06 17:03:53 UTC
[PR] [common] Fix ClassCastException when computing row size for blob fields [paimon]
ArnavBalyan opened a new pull request, #9087:
URL: https://github.com/apache/paimon/pull/9087
### Purpose
- Flink writes check for each row's size in `RangeShuffle` to balance range partitions.
- However for blog fields the size calculator wrongly reads blog with `getVariant` instead of `getBlob`, causing `ClassCastException` tables with blob columns.
- Fix it by using getBlob instead
### Tests
- UT
--
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] [common] Fix ClassCastException when computing row size for blob fields [paimon]
Posted by "ArnavBalyan (via GitHub)" <gi...@apache.org>.
ArnavBalyan commented on PR #9087:
URL: https://github.com/apache/paimon/pull/9087#issuecomment-5291789745
> * `InternalRowToSizeVisitor` calls `toDescriptor()` directly on non-`BlobData` types.
> * Unresolved `BlobView` objects in Flink throw an `IllegalStateException: BlobView is not resolved` during the default SIZE range shuffle; `BlobStream` likewise lacks a descriptor.
Hi @JingsongLi thanks for the review! Have addressed both comments, supports BlobView and BlobRef additionally thanks!
--
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] [common] Fix ClassCastException when computing row size for blob fields [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #9087:
URL: https://github.com/apache/paimon/pull/9087#issuecomment-5237841075
- `InternalRowToSizeVisitor` calls `toDescriptor()` directly on non-`BlobData` types.
- Unresolved `BlobView` objects in Flink throw an `IllegalStateException: BlobView is not resolved` during the default SIZE range shuffle; `BlobStream` likewise lacks a descriptor.
--
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] [common] Fix ClassCastException when computing row size for blob fields [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #9087:
URL: https://github.com/apache/paimon/pull/9087
--
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] [common] Fix ClassCastException when computing row size for blob fields [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #9087:
URL: https://github.com/apache/paimon/pull/9087#issuecomment-5312242013
+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