Support aggregate validation on string columns with length(string_col) #424
Labels
priority: p2
Medium priority. Fix may not be included in next release (e.g. minor documentation, cleanup)
type: feature request
'Nice-to-have' improvement, new feature or different behavior or design.
DVT should support column level aggregates (sum, min, max, avg) on the length of string columns. This is supported via calculated fields in a YAML config, but it should also be supported through the CLI.
Running a '*' aggregation should run over all numeric columns.
data-validation validate column -sc my_bq_conn -tc my_bq_conn -tbls pso-kokoro-resources.hivetest.mascot -sum '*'
But specifying a certain string column name should implicitly convert run the aggregation over the length(string_col)
data-validation validate column -sc my_bq_conn -tc my_bq_conn -tbls pso-kokoro-resources.hivetest.mascot -sum name
The text was updated successfully, but these errors were encountered: