Reference documentation and code samples for the Google Cloud Dataplex V1 Client class RowConditionExpectation.
Evaluates whether each row passes the specified condition.
The SQL expression needs to use BigQuery standard SQL syntax and should produce a boolean value per row as the result. Example: col1 >= 0 AND col2 < 10
Generated from protobuf message google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ sql_expression |
string
The SQL expression. |
getSqlExpression
The SQL expression.
Returns | |
---|---|
Type | Description |
string |
setSqlExpression
The SQL expression.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |