clean_statement function

Clean a statement string

Clean a statement string

SQL statement strings sometimes have characters and specifications that don't change the meaning or are determined at query time. To avoid this, before hashing a statement we clean/strip these from the statement

clean_statement(string)

Arguments

  • string: an SQL statement to clean

Returns

the SQL statement stripped of extraneous bits

  • Maintainer: Jonathan Keane
  • License: Apache License (>= 2.0)
  • Last published: 2024-04-09