Thomas D'Silva created PHOENIX-4966:
---------------------------------------

             Summary: Implement unhandledFilters in PhoenixRelation so that 
spark only evaluates filters when required
                 Key: PHOENIX-4966
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4966
             Project: Phoenix
          Issue Type: Improvement
    Affects Versions: 4.14.0
            Reporter: Thomas D'Silva
            Assignee: Thomas D'Silva
             Fix For: 4.15.0, 5.1.0


PhoenixRelation does not implement unhandledFilters so the data returned from a 
scan is run through filters twice.

{code}
Project [ID#7L]
+- Filter (((isnotnull(COL1#8) && isnotnull(ID#7L)) && (COL1#8 = test_row_1)) 
&& (ID#7L = 1))
   +- Scan PhoenixRelation(TABLE1,localhost:50068:/hbase,false) [ID#7L,COL1#8] 
PushedFilters: [IsNotNull(COL1), IsNotNull(ID), EqualTo(COL1,test_row_1), 
EqualTo(ID,1)], ReadSchema: struct<ID:bigint>
{code}



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

Reply via email to