hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <>
Subject [jira] [Commented] (HIVE-16775) Fix HiveFilterAggregateTransposeRule when filter is always false
Date Thu, 01 Jun 2017 08:16:04 GMT


Jesus Camacho Rodriguez commented on HIVE-16775:

[~pxiong], [~ashutoshc], when we create a filter with a {{false}} predicate from the {{relBuilder}},
we should be calling {{empty}} method.

We had the same problem in the past so _empty_ has been overridden in Hive own version of
Thus we should not see this problem anymore.

Why are we generating a {{values}} operator? I think we are not using the right constructor
where we pass the Hive builder to the rule, changing the Hive rule to use this one might fix
the issue:

In general, it would be good to replace calls to any deprecated Calcite method from Hive,
this seems to be causing a couple of issues, e.g., with metadata providers.

> Fix HiveFilterAggregateTransposeRule when filter is always false
> ----------------------------------------------------------------
>                 Key: HIVE-16775
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-16775.01.patch, HIVE-16775.02.patch
> query4.q,query74.q
> {code}
> [7e490527-156a-48c7-aa87-8c80093cdfa8 main] ql.Driver: FAILED: NullPointerException null
> java.lang.NullPointerException
>         at org.apache.hadoop.hive.ql.optimizer.calcite.translator.ASTConverter$QBVisitor.visit(
>         at org.apache.calcite.rel.RelVisitor.go(
>         at org.apache.hadoop.hive.ql.optimizer.calcite.translator.ASTConverter.convert(
>         at org.apache.hadoop.hive.ql.optimizer.calcite.translator.ASTConverter.convertSource(
>         at org.apache.hadoop.hive.ql.optimizer.calcite.translator.ASTConverter.convert(
> {code}

This message was sent by Atlassian JIRA

View raw message