Skip to content

bug: deserialize parquet error when stream's base table modify column type #18827

@zhyass

Description

@zhyass

Summary

root@localhost:8000/default/default> create table t(a int, b int);

create table t(a int, b int)

root@localhost:8000/default/default> insert into t values(1,1),(2,2);

╭─────────────────────────╮
│ number of rows inserted │
│          UInt64         │
├─────────────────────────┤
│                       2 │
╰─────────────────────────╯
2 rows written in 0.099 sec. Processed 2 rows, 18 B (20.2 rows/s, 181 B/s)

root@localhost:8000/default/default> create stream s on table t append_only=false;

create stream s on table t append_only = false

root@localhost:8000/default/default>  alter table t modify column b float64;

alter table
  t
modify
  column b float64

2 rows written in 0.325 sec. Processed 2 rows, 26 B (6.15 rows/s, 80 B/s)

root@localhost:8000/default/default> select * from s;
error: APIError: QueryFailed: [1001]Parquet argument error: EOF: Not enough bytes to decode

Metadata

Metadata

Assignees

Labels

C-bugCategory: something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions