Ramesh Kumar Thangarajan created HIVE-27687:
-----------------------------------------------

             Summary: Logger variable should be static final as its creation 
takes more time in query compilation
                 Key: HIVE-27687
                 URL: https://issues.apache.org/jira/browse/HIVE-27687
             Project: Hive
          Issue Type: Task
          Components: Hive
            Reporter: Ramesh Kumar Thangarajan
            Assignee: Ramesh Kumar Thangarajan


In query compilation, 

LoggerFactory.getLogger() seems to take up more time. Some of the serde classes 
use non static variable for Logger that forces the getLogger() call for each of 
the class creation.

Making Logger variable static final will avoid this code path for every serde 
class construction.



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

Reply via email to