illiabarbashov-sketch commented on code in PR #6456: URL: https://github.com/apache/hive/pull/6456#discussion_r3318151727
########## ql/src/test/queries/clientnegative/mergejoin_skew_abort.q: ########## @@ -0,0 +1,20 @@ +SET hive.vectorized.execution.enabled=false; +set hive.mapred.mode=nonstrict; +set hive.explain.user=false; +set hive.cbo.enable=false; +set hive.auto.convert.join=false; +set hive.optimize.ppd=false; +-- merge join observability config, with true should throw exception after skew +-- join detected beyond the threshold +set hive.merge.join.skew.threshold=2; +set hive.merge.join.skew.abort=true; + +CREATE TABLE merge_skew_abort_a (key int, value string) STORED AS TEXTFILE; +CREATE TABLE merge_skew_abort_b (key int, value string) STORED AS TEXTFILE; Review Comment: removed ########## ql/src/test/queries/clientpositive/mergejoin_skew_warn.q: ########## @@ -0,0 +1,35 @@ +SET hive.vectorized.execution.enabled=false; +set hive.mapred.mode=nonstrict; +set hive.explain.user=false; +set hive.cbo.enable=false; +set hive.auto.convert.join=false; +set hive.optimize.ppd=false; +set hive.merge.join.skew.threshold=2; +set hive.merge.join.skew.abort=false; + +-- SORT_QUERY_RESULTS + +CREATE TABLE merge_skew_warn_a (key int, value string) STORED AS TEXTFILE; +CREATE TABLE merge_skew_warn_b (key int, value string) STORED AS TEXTFILE; Review Comment: removed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
