[
https://issues.apache.org/jira/browse/HIVE-26438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhay updated HIVE-26438:
-------------------------
Description:
This ticket is an improvement on
https://issues.apache.org/jira/browse/HIVE-26426. The canHandleQbForCbo()
checks whether Calcite handle the query or not and it returns null if the query
can be handled; non-null reason string if it cannot be.
But currently, it returns an empty string if INFO Log is not enabled. This is
probably a performance optimization that is not needed and can be simplified.
was:This ticket is an improvement on
https://issues.apache.org/jira/browse/HIVE-26426. The
> Remove unnecessary optimization in canHandleQbForCbo() method
> -------------------------------------------------------------
>
> Key: HIVE-26438
> URL: https://issues.apache.org/jira/browse/HIVE-26438
> Project: Hive
> Issue Type: Bug
> Reporter: Abhay
> Assignee: Abhay
> Priority: Major
>
> This ticket is an improvement on
> https://issues.apache.org/jira/browse/HIVE-26426. The canHandleQbForCbo()
> checks whether Calcite handle the query or not and it returns null if the
> query can be handled; non-null reason string if it cannot be.
> But currently, it returns an empty string if INFO Log is not enabled. This is
> probably a performance optimization that is not needed and can be simplified.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)