[ 
https://issues.apache.org/jira/browse/HIVE-26446?focusedWorklogId=801255&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-801255
 ]

ASF GitHub Bot logged work on HIVE-26446:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Aug/22 08:09
            Start Date: 17/Aug/22 08:09
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ merged PR #3499:
URL: https://github.com/apache/hive/pull/3499




Issue Time Tracking
-------------------

    Worklog Id:     (was: 801255)
    Time Spent: 1h 20m  (was: 1h 10m)

> HiveProtoLoggingHook fails to populate TablesWritten field for partitioned 
> tables.
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-26446
>                 URL: https://issues.apache.org/jira/browse/HIVE-26446
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Simhadri Govindappa
>            Assignee: Simhadri Govindappa
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> From 
> [here|https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/hooks/HiveProtoLoggingHook.java#L490]
>   :
> {code:java}
> if (entity.getType() == Entity.Type.TABLE) {code}
> entity.getType() returns the value as  "PARTITION" for partitioned tables 
> instead of "TABLE" as a result the above check returns false and the 
> tablesWritten field in the hiveProtologger is left unpopulated for 
> partitioned tables.
>  



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

Reply via email to