[ 
https://issues.apache.org/jira/browse/HIVE-19481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16472442#comment-16472442
 ] 

Sergey Shelukhin commented on HIVE-19481:
-----------------------------------------

[~steveyeom2017] are you saying HIVE-18910 broke tablesample? 
[~djaiswal] the patch for murmur causes the queries in sample10 to produce no 
results. Was that by design? I see the test itself was actually changed for 
some reason in that patch. Seems like sample should still return some rows 
(which it does if table is converted to MM).

> sample10.q returns possibly wrong results for insert-only transactional table
> -----------------------------------------------------------------------------
>
>                 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: Steve Yeom
>            Priority: Major
>             Fix For: 3.1.0
>
>
> 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)

Reply via email to