Topic 1 Question 84
After migrating ETL jobs to run on BigQuery, you need to verify that the output of the migrated jobs is the same as the output of the original. You've loaded a table containing the output of the original job and want to compare the contents with output from the migrated job to show that they are identical. The tables do not contain a primary key column that would enable you to join them together for comparison. What should you do?
Select random samples from the tables using the RAND() function and compare the samples.
Select random samples from the tables using the HASH() function and compare the samples.
Use a Dataproc cluster and the BigQuery Hadoop connector to read the data from each table and calculate a hash from non-timestamp columns of the table after sorting. Compare the hashes of each table.
Create stratified random samples using the OVER() function and compare equivalent samples from each table.
ユーザの投票
コメント(17)
C is the only way which all records will be compared.
👍 28rickywck2020/03/16Answer: C Description: Full comparison with this option, rest are comparison on sample which doesnot ensure all the data will be ok
👍 15[Removed]2020/03/27C is correct.
👍 4Rajuuu2020/07/05
シャッフルモード