milenkovicm commented on code in PR #1503:
URL: 
https://github.com/apache/datafusion-ballista/pull/1503#discussion_r2929629676


##########
ballista/core/src/config.rs:
##########
@@ -419,6 +427,23 @@ impl BallistaConfig {
             v.parse::<f64>().unwrap()
         }
     }
+    /// sets the configuration value where key starts with ballista
+    /// prefix.
+    pub fn set_with_prefix(
+        &mut self,
+        key: &str,
+        value: &str,
+    ) -> datafusion::error::Result<()> {
+        let entries = Self::valid_entries();
+        //let k = format!("{}.{key}", BallistaConfig::PREFIX);
+
+        if entries.contains_key(key) {
+            self.settings.insert(key.to_string(), value.to_string());

Review Comment:
   It would make sense 



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

Reply via email to