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

Stamatis Zampetakis commented on HIVE-26584:
--------------------------------------------

I approved the last changes in the PR and I will merge it soon unless someone 
has more thoughts.

Regarding the {{clearTablesCreatedDuringTests}} I would be open to accept a PR 
that cleans up directories created from external tables after verifying that 
they are under some hopefully safe to delete paths such as 
${system:test.tmp.dir}. Shall we open a follow up JIRA about this?

Using LOAD DATA and not using custom LOCATION also makes sense when applicable. 
If someone wants to verify existing tests and take a holistic approach to adapt 
the tests I think it would also be a useful contribution. People copy code from 
other places and if bad patterns are used the use of bad patterns increases so 
this kind of contributions are also very important of the project. I would 
suggest to create a JIRA about this as well.

> compressed_skip_header_footer_aggr.q is flaky
> ---------------------------------------------
>
>                 Key: HIVE-26584
>                 URL: https://issues.apache.org/jira/browse/HIVE-26584
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 4.0.0-alpha-2
>            Reporter: John Sherman
>            Assignee: John Sherman
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> One of my PRs compressed_skip_header_footer_aggr.q  was failing with 
> unexpected diff. Such as:
> {code:java}
>  TestMiniLlapLocalCliDriver.testCliDriver:62 Client Execution succeeded but 
> contained differences (error code = 1) after executing 
> compressed_skip_header_footer_aggr.q
> 69,71c69,70
> < 1 2019-12-31
> < 2 2018-12-31
> < 3 2017-12-31
> ---
> > 2 2019-12-31
> > 3 2019-12-31
> 89d87
> < NULL  NULL
> 91c89
> < 2 2018-12-31
> ---
> > 2 2019-12-31
> 100c98
> < 1
> ---
> > 2
> 109c107
> < 1 2019-12-31
> ---
> > 2 2019-12-31
> 127,128c125,126
> < 1 2019-12-31
> < 3 2017-12-31
> ---
> > 2 2019-12-31
> > 3 2019-12-31
> 146a145
> > 2 2019-12-31
> 155c154
> < 1
> ---
> > 2 {code}
> Investigating it, it did not seem to fail when executed locally. Since I 
> suspected test interference I searched for the tablenames/directories used 
> and discovered empty_skip_header_footer_aggr.q which uses the same table 
> names AND external directories.



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

Reply via email to