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

Zhan Zhang commented on HBASE-14406:
------------------------------------

[~malaskat]

Can you add a test case as 
    val results = sqlContext.sql("SELECT KEY_FIELD, B_FIELD, A_FIELD FROM 
hbaseTable1 " +
      "WHERE " +
      "( KEY_FIELD >= 'get4' or A_FIELD <= 'foo2') ).take(10)

> The dataframe datasource filter is wrong, and will result in data loss or 
> unexpected behavior
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14406
>                 URL: https://issues.apache.org/jira/browse/HBASE-14406
>             Project: HBase
>          Issue Type: Bug
>          Components: spark
>    Affects Versions: 2.0.0
>            Reporter: Zhan Zhang
>            Assignee: Ted Malaska
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14406.1.patch, HBASE-14406.2.patch, 
> HBASE-14406.3.patch
>
>
> Following condition will result in the same filter. It will have data loss 
> with the current filter construction.
> col1 > 4 && col2 < 3
> col1 > 4 || col2 < 3



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to