[ 
https://issues.apache.org/jira/browse/HIVE-29264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raghav Aggarwal updated HIVE-29264:
-----------------------------------
    Attachment: org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver-output.txt

> 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
>            Priority: Major
>         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)

Reply via email to