MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / print_query

Function print_query

src/testdrive/src/action/sql.rs:585–594  ·  view source on GitHub ↗
(query: &str, stmt: Option<&Statement<Raw>>)

Source from the content-addressed store, hash-verified

583}
584
585pub fn print_query(query: &str, stmt: Option<&Statement<Raw>>) {
586 use Statement::*;
587 if let Some(CreateSecret(_)) = stmt {
588 println!(
589 "> CREATE SECRET [query truncated on purpose so as to not reveal the secret in the log]"
590 );
591 } else {
592 println!("> {}", query)
593 }
594}
595
596// Returns the row after regex replacments, and the before, if its different
597pub fn decode_row(

Callers 3

reset_materializeMethod · 0.85
run_sqlFunction · 0.85
run_fail_sqlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected