milenkovicm opened a new issue, #14003:
URL: https://github.com/apache/datafusion/issues/14003

   ### Is your feature request related to a problem or challenge?
   
   `SessionContext.enable_url_table()` will create new context with different 
session context id. In most cases this does not make any problem. But I have 
found corner case when we want to add support for 
`SessionContext.enable_url_table()` in ballista where session id is tied with 
remote session context (more details at: 
https://github.com/apache/datafusion-ballista/pull/1155)
   
   I would argue that `SessionContext.enable_url_table()` can be seen as 
context configuration option thus it should preserve session id
   
   
   ### Describe the solution you'd like
   
   solution should preserve session context id when `enable_url_table` called
   
   ```rust
   let ctx = SessionContext::new();
   assert_eq!(ctx.session_id(), ctx.enable_url_table().session_id());
   ```
   
   ### 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: github-unsubscr...@datafusion.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to