Search before asking
Fluss version
main (development)
Please describe the bug 🐞
When a Fluss table has table.datalake.enabled = true but is empty (no data written yet, so no lake snapshot has been tiered), running a batch query via Flink SQL fails with:
java.lang.UnsupportedOperationException: Currently, Batch mode can only be supported if one lake snapshot exists for the table.
Solution
The expected behavior is to return an empty result set (0 rows). The Spark connector already handles this correctly by falling back gracefully.
Are you willing to submit a PR?
Search before asking
Fluss version
main (development)
Please describe the bug 🐞
When a Fluss table has
table.datalake.enabled = truebut is empty (no data written yet, so no lake snapshot has been tiered), running a batch query via Flink SQL fails with:Solution
The expected behavior is to return an empty result set (0 rows). The Spark connector already handles this correctly by falling back gracefully.
Are you willing to submit a PR?