Skip to content

expr.slt test failing in main #9891

@Omega359

Description

@Omega359

Describe the bug

Running "expr.slt"
External error: query failed: DataFusion error: Schema error: No field named t2."struct(t1.time,t1.load1,t1.load2,t1.host)". Valid fields are t2."named_struct(Utf8(""c0""),t1.time,Utf8(""c1""),t1.load1,Utf8(""c2""),t1.load2,Utf8(""c3""),t1.host)".
[SQL] select t2."struct(t1.time,t1.load1,t1.load2,t1.host)"['c3'] as host, sum(coalesce(t2."struct(t1.time,t1.load1,t1.load2,t1.host)")['c1']) from (select struct(time,load1,load2,host) from t1) t2 where t2."struct(t1.time,t1.load1,t1.load2,t1.host)"['c3'] IS NOT NULL group by t2."struct(t1.time,t1.load1,t1.load2,t1.host)"['c3'] order by host;
at test_files/expr.slt:2290

Seems to be related possibly to an interaction between #9743 and #9871. Seen in CI run on #9878 and locally.

To Reproduce

cargo test --test sqllogictests -- expr

Expected behavior

test passes

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions