Skip to content

Apache DataFusion SQL Query Engine

Minor: Comment temporary function for documentation migration (#13669)

Oleks Vf7a49097ae8b
diff --git a/datafusion/core/src/bin/print_functions_docs.rs b/datafusion/core/src/bin/print_functions_docs.rs
index b58f6e47d3..8b453d5e96 100644
--- a/datafusion/core/src/bin/print_functions_docs.rs
+++ b/datafusion/core/src/bin/print_functions_docs.rs
@@ -88,6 +88,7 @@ fn print_window_docs() -> Result<String> {
// the migration of UDF documentation generation from code based
// to attribute based
// To be removed
+#[allow(dead_code)]
fn save_doc_code_text(documentation: &Documentation, name: &str) {
let attr_text = documentation.to_doc_attribute();
@@ -182,7 +183,7 @@ fn print_docs(
};
// Temporary for doc gen migration, see `save_doc_code_text` comments
- save_doc_code_text(documentation, &name);
+ // save_doc_code_text(documentation, &name);
// first, the name, description and syntax example
let _ = write!(