You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Deepak Jaiswal (JIRA)" <ji...@apache.org> on 2018/06/26 06:07:00 UTC
[jira] [Commented] (HIVE-19481) Tablesample uses incorrect logic to
pick files corresponding to buckets.
[ https://issues.apache.org/jira/browse/HIVE-19481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523254#comment-16523254 ]
Deepak Jaiswal commented on HIVE-19481:
---------------------------------------
Committed to master, preparing for branch-3
Thanks [~sershe] for the review.
> Tablesample uses incorrect logic to pick files corresponding to buckets.
> ------------------------------------------------------------------------
>
> Key: HIVE-19481
> URL: https://issues.apache.org/jira/browse/HIVE-19481
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 3.0.0
> Reporter: Steve Yeom
> Assignee: Deepak Jaiswal
> Priority: Major
> Fix For: 3.1.0, 4.0.0
>
> Attachments: HIVE-19481.01-branch-3.patch, HIVE-19481.1.patch, HIVE-19481.2.patch, HIVE-19481.3.patch, HIVE-19481.4.patch
>
>
> Ran "mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile=sample10.q " after changing the table to be
> insert-only transactional.
> The following queries returns couple of rows whereis no row results returns for non-ACID table.
> query: select ds, count(1) from srcpartbucket tablesample (bucket 2 out of 4 on key) where ds is not null group by ds ORDER BY ds ASC
> 2008-04-08 14
> 2008-04-09 14
> ..
> query: select ds, count(1) from srcpartbucket tablesample (bucket 1 out of 2 on key) where ds is not null group by ds ORDER BY ds ASC
> 2008-04-08 4
> 2008-04-09 4
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)