This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new 5e26b1388 fix ci (#2821)
5e26b1388 is described below
commit 5e26b1388f0bfc2aff880d8b715d6c5769000ae2
Author: Kun Liu <[email protected]>
AuthorDate: Sat Jul 2 00:30:53 2022 +0800
fix ci (#2821)
---
datafusion/core/src/config.rs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/datafusion/core/src/config.rs b/datafusion/core/src/config.rs
index 40bbf0f4a..9a0570be2 100644
--- a/datafusion/core/src/config.rs
+++ b/datafusion/core/src/config.rs
@@ -144,6 +144,7 @@ impl BuiltInConfigs {
/// Generate documentation that can be included int he user guide
pub fn generate_config_markdown() -> String {
+ use std::fmt::Write as _;
let configs = Self::new();
let mut docs = "| key | type | default | description |\n".to_string();
docs += "|-----|------|---------|-------------|\n";
@@ -152,8 +153,9 @@ impl BuiltInConfigs {
.iter()
.sorted_by_key(|c| c.key.as_str())
{
- docs += &format!(
- "| {} | {} | {} | {} |\n",
+ let _ = writeln!(
+ &mut docs,
+ "| {} | {} | {} | {} |",
config.key, config.data_type, config.default_value,
config.description
);
}