[ https://issues.apache.org/jira/browse/HIVE-26446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simhadri Govindappa updated HIVE-26446: --------------------------------------- Description: >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. > 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 > > 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)