Hi,

You can set the below configuration at the beginning of the file
'acid_nullscan.q'

> --! qt:replace:/(\s+totalSize\s+)\S+(\s+)/$1#Masked#$2/
>

and run the following command 'mvn test -Dtest=TestCliDriver
-Dqfile=acid_nullscan.q -Dtest.output.overwrite=true' to generate the
output. What the above config does is, it'll mask the value of totalSize in
the acid_nullscan.q.out file since it seems to be flaky. Hope this helps.

Thanks,
Sai.

On Wed, Feb 1, 2023 at 4:38 AM onRoad <906416...@qq.com> wrote:

>
> Hello,
>
> I use hive-3.1.2 and hive-3.1.3 to run test case. The case acid_nullscan.q
> is failed. This is confused. Would you please give some advice. Thank you
> very much.
>
>
> The result is:
>
>
> -------------------------------------------------------------------------------
>
> Test set: org.apache.hadoop.hive.cli.TestCliDriver
>
>
> -------------------------------------------------------------------------------
>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 75.35 s
> <<< FAILURE! - in org.apache.hadoop.hive.cli.TestCliDriver
>
> testCliDriver[acid_nullscan](org.apache.hadoop.hive.cli.TestCliDriver)  Time
> elapsed: 9.472 s  <<< FAILURE!
>
> java.lang.AssertionError:
>
> Client Execution succeeded but contained differences (error code = 1)
> after executing acid_nullscan.q
>
> 49c49
>
> <             Statistics: Num rows: 91 Data size: 26390 Basic stats:
> COMPLETE Column stats: NONE
>
> ---
>
> >             Statistics: Num rows: 90 Data size: 25960 Basic stats:
> COMPLETE Column stats: NONE
>
> 54c54
>
> <               Statistics: Num rows: 1 Data size: 290 Basic stats:
> COMPLETE Column stats: NONE
>
> ---
>
> >               Statistics: Num rows: 1 Data size: 288 Basic stats:
> COMPLETE Column stats: NONE
>
> 89c89
>
> <               totalSize 2639
>
> ---
>
> >               totalSize 2596
>
> 111c111
>
> <                 totalSize 2639
>
> ---
>
> >                 totalSize 2596
>
>
>
>
>

Reply via email to