[
https://issues.apache.org/jira/browse/HIVE-28498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-28498:
----------------------------------
Labels: hive-4.1.1-must pull-request-available (was: hive-4.1.1-must)
> Missing column handling of get_table_statistics_req is inconsistent
> -------------------------------------------------------------------
>
> Key: HIVE-28498
> URL: https://issues.apache.org/jira/browse/HIVE-28498
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Reporter: Csaba Ringhofer
> Priority: Major
> Labels: hive-4.1.1-must, pull-request-available
>
> When get_table_statistics_req is asked for a column that doesn't exist in HMS:
> if hive.metastore.try.direct.sql=false: exception is thrown
> if hive.metastore.try.direct.sql=true: most of the time the RPC succeeds and
> returns stats for the columns that exist
> This was found when investigating some flaky test in Apache Impala
> (IMPALA-11431). hive.metastore.try.direct.sql=true in the Impala test env,
> so most of the time these RPCs succeeded, but in some cases HMS uses JDO
> during the RPC and an exception is thrown. I don't know the reason behind
> sporadically using JDO instead of direct SQL.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)