You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Raghav Aggarwal (Jira)" <ji...@apache.org> on 2025/10/13 19:04:00 UTC
[jira] [Created] (HIVE-29264) Use metaconf prefix to honor metastore configurations in q-files
Raghav Aggarwal created HIVE-29264:
--------------------------------------
Summary: Use metaconf prefix to honor metastore configurations in q-files
Key: HIVE-29264
URL: https://issues.apache.org/jira/browse/HIVE-29264
Project: Hive
Issue Type: Bug
Reporter: Raghav Aggarwal
Assignee: Raghav Aggarwal
Attachments: org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver-output.txt
In alter_table_column_stats.q, the hive.metastore.try.direct.sql=false for partitioned table and following command is running:
{code:java}
analyze table testpart0 compute statistics for columns; {code}
but the JDO implementation for _get_aggr_stats_for_ is to throw MetaException but the exception is not thrown. As soon I replace it with set metaconf:metastore.try.direct.sql=false then exception is observed in
{code:java}
itests/qtest/target/surefire-reports/org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver-output.txt {code}
but q file is not failing.
In short,
# replace hivename with varname for metaconfs
# investigate whether error be thrown if JDO fails.
Attaching TestMiniLlapLocalCliDriver-output.txt showing
{code:java}
metastore.RetryingHMSHandler: MetaException(message:Jdo path is not implemented for stats aggr.) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)