hive-gitbox mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [hive] wangyum opened a new pull request #2251: HIVE-21563: Improve Table#getEmptyTable performance by disabling registerAllFunctionsOnce
Date Thu, 06 May 2021 00:43:35 GMT

wangyum opened a new pull request #2251:

   ### What changes were proposed in this pull request?
   Improve `Table#getEmptyTable` performance by disabling `registerAllFunctionsOnce`.
   ### Why are the changes needed?
   `Table#getEmptyTable` do not need `registerAllFunctionsOnce` . The stack trace:
     at org.apache.hadoop.hive.ql.exec.Registry.registerGenericUDF(
     at org.apache.hadoop.hive.ql.exec.Registry.registerGenericUDF(
     at org.apache.hadoop.hive.ql.exec.FunctionRegistry.<clinit>(
     at org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(
     at org.apache.hadoop.hive.ql.metadata.Hive.registerAllFunctionsOnce(
     at org.apache.hadoop.hive.ql.metadata.Hive.<init>(
     at org.apache.hadoop.hive.ql.metadata.Hive.create(
     at org.apache.hadoop.hive.ql.metadata.Hive.getInternal(
     at org.apache.hadoop.hive.ql.metadata.Hive.get(
     at org.apache.hadoop.hive.ql.session.SessionState.setAuthorizerV2Config(
     at org.apache.hadoop.hive.ql.session.SessionState.setupAuth(
     at org.apache.hadoop.hive.ql.session.SessionState.getAuthenticator(
     at org.apache.hadoop.hive.ql.session.SessionState.getUserFromAuthenticator(
     at org.apache.hadoop.hive.ql.metadata.Table.getEmptyTable(
   ### Does this PR introduce _any_ user-facing change?
   ### How was this patch tested?
   Existing test.

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.

For queries about this service, please contact Infrastructure at:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message