alamb opened a new issue, #12551: URL: https://github.com/apache/datafusion/issues/12551
### Is your feature request related to a problem or challenge? While working on https://github.com/datafusion-contrib/datafusion-dft/pull/152 and trying to enable the dynamic file catalog, I wrote code like this: ```rust let session_ctx = ...; session_ctx.enable_url_table(); ``` which compiled fine but did not work It turns out I needed to do this (use the returned SessionContext) ```rust let session_ctx = ...; session_ctx.enable_url_table(); ``` It would be nice if the compiler had told me about this ### Describe the solution you'd like I would like to make `enable_url_table` consume `self` this making my first bug a compiler error rather than silently ignored ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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]
