apache / apache/paimon

[Bug] Flink 1.15 1.0 Index 1 out of bounds for length 1

Open
#5,056 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.

### Paimon version

paimon 1.0

### Compute Engine

Flink 1.15

### Minimal reproduce step

Deploy a flink job writing to a database having data type array> with paimon format in hdfs using paimon-flink-1.15 1.0

### What doesn't meet your expectations?

No exception will be thrown when using trino to query the data from that database in hdfs

### Anything else?

Although I have tried to followe the suggestion, configurating state.compatible-for-less-than-08 to true, (https://github.com/apache/paimon/pull/3473) from the issue [flink] supports upgrading from versions below 0.8.0 (excluding 0.8.0) to 0.8.1+. #3473, the related error is still thrown.

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with Flink 1.15 and Paimon 1.0 by writing an array> column to a Paimon table in HDFS, then query it with Trino. Trace the source of the “Index 1 out of bounds for length 1” exception and verify that the same data can be queried without an exception, including when state.compatible-for-less-than-08 is enabled.

Written by the indexing model from the issue text.

Assessment

Domain
data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.