andygrove commented on code in PR #4227:
URL: https://github.com/apache/arrow-datafusion/pull/4227#discussion_r1023280477


##########
datafusion/core/src/execution/runtime_env.rs:
##########
@@ -152,7 +153,16 @@ pub struct RuntimeConfig {
 impl RuntimeConfig {
     /// New with default values
     pub fn new() -> Self {
-        Default::default()
+        let mut table_factories: HashMap<String, Arc<dyn 
TableProviderFactory>> =
+            HashMap::new();
+        table_factories.insert("PARQUET".into(), 
Arc::new(ListingTableFactory::new()));
+        table_factories.insert("CSV".into(), 
Arc::new(ListingTableFactory::new()));
+        table_factories.insert("JSON".into(), 
Arc::new(ListingTableFactory::new()));

Review Comment:
   do we need to add an entry for "NDJSON" as well? See 
https://github.com/apache/arrow-datafusion/issues/4198



-- 
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]

Reply via email to