Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.19 KB

process_query.md

File metadata and controls

23 lines (15 loc) · 1.19 KB

Process Query Config

Controls whether the crawler should process the SQL queries before storing the MCEs. Default is to not process the queries.

process_query:
  redact_literals:
    enabled: <true | false> # Whether to redact the literal values. Default is `false`.

    placeholder_literal: <placeholder literal>  # The redacted values will be replaced by this placeholder string. Default is '<REDACTED>'.

  ignore_insert_values_into: <true | false>  # Ignore `INSERT INTO ... VALUES` expressions. These expressions don't have any lineage information, and are often very large in size. Default is `false`.

  ignore_command_statement: <true | false>  # Ignore SQL statements that are parsed as COMMANDs. This is for platform specific SQL commands such as `CREATE USER`. Default is `false`.

  skip_unparsable_queries: <true | false>  # If this is set to `true`, when Sqlglot fails to parse a query we skip it from the collected MCE. Default is `false`, meaning we pass through any query we are unable to parse.

If any of the following boolean values is set to true, crawler will process the incoming SQL queries:

  • redact_literals.enabled
  • ignore_insert_values_into
  • ignore_command_statement