[substrait] [sqllogictest] Error during planning: No table named 'generate_series()'
- Dominant language
- Rust
- Stars
- 9.3k
- Forks
- 2.4k
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 344
Description
### Describe the bug
~35 sqllogictest cases are failing in Substrait round-trip mode because of the following error:
```
query failed: DataFusion error: Error during planning: No table named 'generate_series()'
```
### To Reproduce
```
cargo test --test sqllogictests -- --substrait-round-trip array.slt:6471
```
### 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.
- https://github.com/apache/datafusion/issues/16248
Contributor guide
Research direction
Start by running `cargo test --test sqllogictests -- --substrait-round-trip array.slt:6471` and trace the Substrait round-trip planning path that handles `generate_series()`. Done means the affected sqllogictest cases pass in Substrait round-trip mode without the missing-table planning error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, sql
- Domain
- databases, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100