You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "zabetak (via GitHub)" <gi...@apache.org> on 2023/03/08 11:49:36 UTC

[GitHub] [hive] zabetak commented on pull request #4068: HIVE-27089 : Test fixes for orc_merge*.q

zabetak commented on PR #4068:
URL: https://github.com/apache/hive/pull/4068#issuecomment-1460040365

   @yigress I am not sure if it is LLAP related. If you check the `orc_merge1.q` file there are three `dfs -ls` operations always following an `INSERT OVERWRITE TABLE` query. I assume that the `OVERWRITE` query rewrites the directory every time. 
   
   Before HIVE-27016:
   ```
   INSERT OVERWRITE TABLE
   dfs -ls
   -rw-r--r--
   INSERT OVERWRITE TABLE
   dfs -ls
   -rw-rw-rw-
   INSERT OVERWRITE TABLE
   dfs -ls
   -rw-rw-rw-
   ```
   
   After HIVE-27016:
   ```
   INSERT OVERWRITE TABLE
   dfs -ls
   -rw-rw-rw-
   INSERT OVERWRITE TABLE
   dfs -ls
   -rw-rw-rw-
   INSERT OVERWRITE TABLE
   dfs -ls
   -rw-rw-rw-
   ```
   Worth mentioning that even before HIVE-27016 we have directories created with `-rw-rw-rw-` just not the first time.
   
   There must be a code-path that operates with different permissions and this is definitely a bug. If someone can pinpoint the exact reason of why this happens and raise a JIRA that would be great.
   
   However, given that permission differences existed even before HIVE-27016, I will not consider HIVE-27016 as a regression so I am OK to simply update the .q.out files for the moment.


-- 
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: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org