Skip to content

[substrait] [sqllogictest] Null cast is not valid #16272

@gabotechs

Description

@gabotechs

Describe the bug

~700 sqllogictest cases are failing in Substrait round-trip mode because of the following error:

query failed: DataFusion error: Internal error: Null cast is not valid.

To Reproduce

cargo test --test sqllogictests -- --substrait-round-trip aggregate_skip_partial.slt:194

Expected behavior

The sqllogictest passes in Substrait round-trip mode

Additional context

This is part of a broader initiative to improve the reliability of Substrait-to-DataFusion logical plan conversions.

Metadata

Metadata

Assignees

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