[jira] [Comment Edited] (HIVE-19481) sample10.q returns possibly wrong results for insert-only transactional table

2018-05-11 Thread Steve Yeom (JIRA)

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

Steve Yeom edited comment on HIVE-19481 at 5/11/18 5:01 PM:


The semantics of the test looks like the results for insert-only transactional 
table is rather valid to
return couple of rows for the above two queries. I.e., possibly 
non-transactional regular table
return results of no row may be incorrect.




was (Author: steveyeom2017):
The query on insert-only transactional table returns no rows (or correct) when 
vectorization is off.

> 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)


[jira] [Comment Edited] (HIVE-19481) sample10.q returns possibly wrong results for insert-only transactional table

2018-05-09 Thread Steve Yeom (JIRA)

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

Steve Yeom edited comment on HIVE-19481 at 5/9/18 11:39 PM:


The query on insert-only transactional table returns no rows (or correct) when 
vectorization is off.


was (Author: steveyeom2017):
The query on insert-only transactional table returns no rows when vectorization 
is off.

> 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. 
> POSTHOOK: 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
>  A masked pattern was here 
> 2008-04-08  14
> 2008-04-09  14
> POSTHOOK: 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
>  A masked pattern was here 
> 2008-04-08  4
> 2008-04-09  4



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)