Row Hash validation with BQ - TypeError: Object of type bytes is not JSON serializable #399
Labels
priority: p0
Highest priority. Critical issue. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Getting errors when running a row hash validation like so between BQ to BQ and Hive to BQ.
data-validation -v validate row -sc my_bq_conn -tc my_bq_conn -tbls pso-kokoro-resources.hivetest.mascot --hash '*' -pk id
The return value from the BQ sha256() function is a bytestring value that cannot be compared to the string return value from the Hive sha2() function. This also throws an error when outputting results to BigQuery result handler.
The text was updated successfully, but these errors were encountered: