You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2024/06/17 04:07:05 UTC
[PR] [flink] Fix lookup IndexOutOfBounds for sequence defined with projection [paimon]
JingsongLi opened a new pull request, #3527:
URL: https://github.com/apache/paimon/pull/3527
<!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
### Purpose
<!-- Linking this pull request to the issue -->
```
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
at org.apache.paimon.utils.ProjectedRow.isNullAt(ProjectedRow.java:80)
at RecordComparator$52.compare(Unknown Source)
at org.apache.paimon.utils.UserDefinedSeqComparator.compare(UserDefinedSeqComparator.java:49)
at org.apache.paimon.utils.UserDefinedSeqComparator.compare(UserDefinedSeqComparator.java:32)
at org.apache.paimon.flink.lookup.SecondaryIndexLookupTable.refresh(SecondaryIndexLookupTable.java:88)
at org.apache.paimon.flink.lookup.FullCacheLookupTable.refresh(FullCacheLookupTable.java:154)
at org.apache.paimon.flink.lookup.FileStoreLookupFunction.refresh(FileStoreLookupFunction.java:299)
at org.apache.paimon.flink.lookup.FileStoreLookupFunction.checkRefresh(FileStoreLookupFunction.java:288)
at org.apache.paimon.flink.lookup.FileStoreLookupFunction.lookup(FileStoreLookupFunction.java:206)
... 87 more
```
`FullCacheLookupTable` should pad sequence fields for projection.
<!-- What is the purpose of the change -->
### Tests
<!-- List UT and IT cases to verify this change -->
`LookupTableTest.testPkTableWithSequenceFieldProjection`
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
--
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] [flink] Fix lookup IndexOutOfBounds for sequence defined with projection [paimon]
Posted by "leaves12138 (via GitHub)" <gi...@apache.org>.
leaves12138 merged PR #3527:
URL: https://github.com/apache/paimon/pull/3527
--
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