MCPcopy Create free account
hub / github.com/apache/datafusion / normalize

Method normalize

datafusion/core/tests/sql/mod.rs:276–282  ·  view source on GitHub ↗
(&self, s: impl Into<String>)

Source from the content-addressed store, hash-verified

274 }
275
276 fn normalize(&self, s: impl Into<String>) -> String {
277 let mut s = s.into();
278 for (from, to) in &self.replacements {
279 s = s.replace(from, to);
280 }
281 s
282 }
283}
284
285/// Applies normalize_for_explain to every line

Calls 1

intoMethod · 0.45

Tested by

no test coverage detected