Reference documentation and code samples for the Cloud Dataplex v1 API class DataQualityRule.Types.SqlAssertion.
Queries for rows returned by the provided SQL statement. If any rows are
are returned, this rule fails.
The SQL statement needs to use BigQuery standard SQL syntax, and must not
contain any semicolons.
${data()} can be used to reference the rows being evaluated, i.e. the table
after all additional filters (row filters, incremental data filters,
sampling) are applied.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[[["This page provides documentation for the `DataQualityRule.Types.SqlAssertion` class within the Google Cloud Dataplex v1 API."],["`SqlAssertion` is used to define SQL-based data quality rules where the presence of returned rows indicates a rule failure."],["The SQL statements used in `SqlAssertion` rules must adhere to BigQuery standard SQL syntax and should not contain semicolons."],["The documentation includes details on the class's inheritance, implemented interfaces, constructors, and the `SqlStatement` property, as well as the historical versions of this type ranging from 1.0.0 up to 3.6.0."]]],[]]