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: [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]

Reply via email to