hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Work logged] (HIVE-22256) Rewriting fails when `IN` clause has items in different order in MV and query.
Date Fri, 01 May 2020 22:35:00 GMT


ASF GitHub Bot logged work on HIVE-22256:

                Author: ASF GitHub Bot
            Created on: 01/May/20 22:34
            Start Date: 01/May/20 22:34
    Worklog Time Spent: 10m 
      Work Description: jcamachor opened a new pull request #1002:


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

Issue Time Tracking

            Worklog Id:     (was: 429697)
    Remaining Estimate: 0h
            Time Spent: 10m

> Rewriting fails when `IN` clause has items in different order in MV and query.
> ------------------------------------------------------------------------------
>                 Key: HIVE-22256
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO, Materialized views
>    Affects Versions: 3.1.2
>            Reporter: Steve Carlin
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: HIVE-22256.01.patch, HIVE-22256.patch, expr2.sql
>          Time Spent: 10m
>  Remaining Estimate: 0h
> Rewriting fails on following materialized view and query (script is also attached):
> create materialized view view2 stored as orc as (select prod_id, cust_id, store_id, sale_date,
qty, amt, descr from sales where cust_id in (1,2,3,4,5));
> explain extended select prod_id, cust_id  from sales where cust_id in (5,1,2,3,4);

This message was sent by Atlassian Jira

View raw message