[ 
https://issues.apache.org/jira/browse/IMPALA-13665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914368#comment-17914368
 ] 

ASF subversion and git services commented on IMPALA-13665:
----------------------------------------------------------

Commit 8675dbfe664251f875dbf67a2878068462993305 in impala's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=8675dbfe6 ]

IMPALA-13665: Parallelize TestDecimalFuzz

TestDecimalFuzz.test_decimal_ops and TestDecimalFuzz.test_width_bucket
each execute_scalar query 10000 times. This patch speed them up by
breaking each into 10 parallel tests run where each run execute_scalar
query 1000 times.

This patch also make execute_scalar and execute_scalar_expect_success to
run query with long_polling_time_ms=100 if there is no query_options
specified. Adds assertion in execute_scalar_expect_success that result
is indeed only a single row.

Slightly change exists_func to avoid unused argument warning.

Testing:
- From tests/ run and pass the following command
  ./run-tests.py query_test/test_decimal_fuzz.py

Change-Id: Ic12b51b50739deff7792e2640764bd75e8b8922d
Reviewed-on: http://gerrit.cloudera.org:8080/22328
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Parallelize TestDecimalFuzz
> ---------------------------
>
>                 Key: IMPALA-13665
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13665
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Riza Suminto
>            Assignee: Riza Suminto
>            Priority: Major
>             Fix For: Impala 4.5.0
>
>
> TestDecimalFuzz.test_decimal_ops and TestDecimalFuzz.test_width_bucket each 
> execute_scalar query 10000 times. This can be speed up by breaking it into 10 
> parallel test run with each run execute_scalar query 1000 times.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to