[ 
https://issues.apache.org/jira/browse/HAWQ-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shivram Mani updated HAWQ-964:
------------------------------
    Description: 
Currently the extension framework only allows the 'AND' logical operator across 
the provided predicates. Will need to support other logical operators such as 
'OR' 'NOT'

Logical operators (such as AND, OR, NOT) will be denoted by the letter 'l'
Comparison operators (such as <, >, = etc) will be denoted by 'o'
Constants by 'c'
Variables (column index) by 'a'

Have a separate enum for logical operators say PxfLogicalOperatorCode and 
include AND,OR,NOT in it.
Other logical operators can continue existing in PxfOperatorCode enum.

Change the way Qualifier tree is handled to take care of precedence. in 
pxffilters.c.
The output of this should produce a postfix notation.

  was:
Currently the extension framework only allows the 'AND' logical operator across 
the provided predicates. Will need to support other logical operators such as 
'OR' 'NOT'

Have a separate enum for logical operators say PxfLogicalOperatorCode and 
include AND,OR,NOT in it.
Other logical operators can continue existing in PxfOperatorCode enum

Change the way Qualifier tree is handled to take care of precedence. in 
pxffilters.c.
The output of this should produce a postfix notation.


> Support for additional logical operators in PXF
> -----------------------------------------------
>
>                 Key: HAWQ-964
>                 URL: https://issues.apache.org/jira/browse/HAWQ-964
>             Project: Apache HAWQ
>          Issue Type: Improvement
>          Components: PXF
>            Reporter: Shivram Mani
>            Assignee: Goden Yao
>             Fix For: backlog
>
>
> Currently the extension framework only allows the 'AND' logical operator 
> across the provided predicates. Will need to support other logical operators 
> such as 'OR' 'NOT'
> Logical operators (such as AND, OR, NOT) will be denoted by the letter 'l'
> Comparison operators (such as <, >, = etc) will be denoted by 'o'
> Constants by 'c'
> Variables (column index) by 'a'
> Have a separate enum for logical operators say PxfLogicalOperatorCode and 
> include AND,OR,NOT in it.
> Other logical operators can continue existing in PxfOperatorCode enum.
> Change the way Qualifier tree is handled to take care of precedence. in 
> pxffilters.c.
> The output of this should produce a postfix notation.



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

Reply via email to