Package org. partiql. lang. ast. passes
Types
The exception to be thrown by semantic passes.
Variants of SemanticProblemDetails contain info about various problems that can be encountered through semantic passes.
This is a function alias for determining which UDF input arguments need to be redacted.
There are two components needed for implementation: 1. Which arguments are needed for SafeFieldName validation 2. Which arguments are needed for redaction should be returned
For example, for a given function in which argument number is static, func(a, b, c, d), we can validate whether a
and b
are a SafeFieldName, if yes, c
and d
will be redacted.
Functions
From the input PartiQL statement, returns a statement in which PartiqlAst.Expr.Lits not assigned with providedSafeFieldNames are redacted to "***(Redacted)".
From the input PartiQL statement, returns a statement in which PartiqlAst.Expr.Lits not assigned with providedSafeFieldNames are redacted to "***(Redacted)". Assumes that the parsed PartiQL statement is the same as the input ast.
Returns true if the given node type is to be skipped for redaction or its text is one of the safeFieldNames.