[ https://issues.apache.org/jira/browse/HIVE-16607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Vary updated HIVE-16607: ------------------------------ Attachment: HIVE-16607.patch Regenerating the queryId in QueryStates only when created in the Driver constructors. Running a check to see if there is any test error caused by this. Wanted to add a new boolean attribute to the constructor to explicitly request a queryId generation, but the multiple boolean parameters of the constructor made it hard to read the code. Decided to use a builder instead of the constructor to make the code more readable. > ColumnStatsAutoGatherContext regenerates HiveConf.HIVEQUERYID > ------------------------------------------------------------- > > Key: HIVE-16607 > URL: https://issues.apache.org/jira/browse/HIVE-16607 > Project: Hive > Issue Type: Bug > Components: Beeline, Logging > Reporter: Peter Vary > Assignee: Peter Vary > Attachments: HIVE-16607.patch > > > Creating a new {{QueryState}} object regenerates the HIVEQUERYID stored in > the {{HiveConf}}. > In HiveServer logs it makes hard to follow the life of the query since a new > queryid is assigned to the query during the execution. > Since BeeLine is showing the operation logs based on the queryid, only the > first several line of the logs is showed in BeeLine. -- This message was sent by Atlassian JIRA (v6.3.15#6346)