ComparisonControls
¶
Source code in docs_src/capo_cleanrooms/types/comparison_controls.py
allowed_column_comparison_columns
instance-attribute
¶
allowed_column_comparison_columns: AnalysisRuleColumnList
The columns that a query can compare to another column, for example, in a join, a WHERE clause, a GROUP BY clause, or a window function. Clean Rooms rejects a query that uses any other column in a column-to-column comparison. Specify an empty list to block column-to-column comparison on every column.
allowed_literal_comparison_columns
instance-attribute
¶
allowed_literal_comparison_columns: AnalysisRuleColumnList
The columns that a query can compare to literal values, for example, in a WHERE clause. Clean Rooms rejects a query that compares any other column to a literal value. Specify an empty list to block literal comparison on every column. You can't specify a column that you also use as an identity column in an aggregation threshold.