zabetak opened a new pull request, #5354:
URL: https://github.com/apache/hive/pull/5354

   ### Why are the changes needed?
   The Hive object is not used inside RelOptHiveTable so keeping a reference to 
it is wasting memory and also complicates creation of RelOptHiveTable objects 
(constructor parameter).
   
   Moreover, the Hive objects have thread local scope so in general they 
shouldn't be passed around cause their lifecycle becomes harder to manage.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### Is the change a dependency upgrade?
   No
   
   ### How was this patch tested?
   Existing tests


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to