goutamadwant commented on code in PR #24179:
URL: https://github.com/apache/datafusion/pull/24179#discussion_r3763819152
##########
datafusion-cli/src/main.rs:
##########
@@ -244,8 +250,11 @@ async fn main_inner() -> Result<()> {
let runtime_env = rt_builder.build_arc()?;
// enable dynamic file query
- let ctx = SessionContext::new_with_config_rt(session_config, runtime_env)
+ let mut ctx = SessionContext::new_with_config_rt(session_config,
runtime_env)
.enable_url_table();
+ if args.spark {
+ datafusion_spark::register_all(&mut ctx)?;
+ }
Review Comment:
addressed it @neilconway. let me know if this looks good now
--
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]