You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "binary-signal (via GitHub)" <gi...@apache.org> on 2026/04/25 15:14:11 UTC

[I] [flink] Batch query on empty datalake-enabled table should return 0 rows instead of failing with UnsupportedOperationException [fluss]

binary-signal opened a new issue, #3207:
URL: https://github.com/apache/fluss/issues/3207

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar.
   
   
   ### 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:
   
   ```text
    java.lang.UnsupportedOperationException: Currently, Batch mode can only be supported if one lake snapshot exists for the table.
   ```
   The expected behavior is to return an empty result set (0 rows). The Spark connector already handles this correctly by falling back gracefully.
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [flink] Batch query on empty datalake-enabled table should return 0 rows instead of failing with UnsupportedOperationException [fluss]

Posted by "matrixsparse (via GitHub)" <gi...@apache.org>.
matrixsparse commented on issue #3207:
URL: https://github.com/apache/fluss/issues/3207#issuecomment-4319935535

   Hi, I'd like to work on this issue. Please assign it to me, thanks!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [flink] Batch query on empty datalake-enabled table should return 0 rows instead of failing with UnsupportedOperationException [fluss]

Posted by "binary-signal (via GitHub)" <gi...@apache.org>.
binary-signal commented on issue #3207:
URL: https://github.com/apache/fluss/issues/3207#issuecomment-4319999751

   assigned to @matrixsparse 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [flink] Batch query on empty datalake-enabled table should return 0 rows instead of failing with UnsupportedOperationException [fluss]

Posted by "fresh-borzoni (via GitHub)" <gi...@apache.org>.
fresh-borzoni closed issue #3207: [flink] Batch query on empty datalake-enabled table should return 0 rows instead of failing with UnsupportedOperationException
URL: https://github.com/apache/fluss/issues/3207


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org