Skip to content

Commit

Permalink
[bugfix](paimon)paimon's field length judgment error for 2.1 (#36049)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwenchi authored Jun 7, 2024
1 parent 57704a3 commit bd6b913
Show file tree
Hide file tree
Showing 3 changed files with 656 additions and 98 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void open() throws IOException {

private void initReader() throws IOException {
ReadBuilder readBuilder = table.newReadBuilder();
if (this.fields.length != this.paimonAllFieldNames.size()) {
if (this.fields.length > this.paimonAllFieldNames.size()) {
throw new IOException(
String.format(
"The jni reader fields' size {%s} is not matched with paimon fields' size {%s}."
Expand Down
Loading

0 comments on commit bd6b913

Please sign in to comment.