hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-108) sampling does not use internal column name
Date Wed, 03 Dec 2008 22:09:44 GMT

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

Zheng Shao updated HIVE-108:
----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

HIVE-108. Sampling to use internal column name. (Namit through zshao)


> sampling does not use internal column name 
> -------------------------------------------
>
>                 Key: HIVE-108
>                 URL: https://issues.apache.org/jira/browse/HIVE-108
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: patch.txt
>
>
> sampling does not use internal column name, it uses column table name instead - which
will not work in case there is any operator between table
> scan and sampling, which is possible with column pruning.
> The following test breaks: 
> (assuming srcbucket has more than 1 column: in this case 2 columns: key and value)
> -- no input pruning, sample filter
> EXPLAIN
> SELECT s.key
> FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 5 on key) s;
> SELECT s.key
> FROM srcbucket TABLESAMPLE (BUCKET 1 OUT OF 5 on key) s;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message