fpetkovski commented on code in PR #17702:
URL: https://github.com/apache/datafusion/pull/17702#discussion_r2366446170
##########
datafusion/catalog/src/stream.rs:
##########
@@ -53,8 +53,12 @@ impl TableProviderFactory for StreamTableFactory {
state: &dyn Session,
cmd: &CreateExternalTable,
) -> Result<Arc<dyn TableProvider>> {
+ let location = match cmd.locations.len() {
Review Comment:
I wonder if there's a better way to constrain the API for this function to a
single file location without throwing a runtime error if multiple are provided.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]