You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by denalex <gi...@git.apache.org> on 2016/10/04 18:54:51 UTC

[GitHub] incubator-hawq pull request #906: HAWQ-964. Support for OR and NOT Logical O...

Github user denalex commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/906#discussion_r81827921
  
    --- Diff: pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FilterParser.java ---
    @@ -396,4 +387,12 @@ private Operation reverseOp(Operation operation) {
             operatorTranslationMap.put(8, Operation.HDOP_LIKE);
             return operatorTranslationMap;
         }
    +
    +    static private Map<Integer, LogicalOperation> initLogicalOperatorTransMap() {
    +        Map<Integer, LogicalOperation> integerLogicalOperationMap = new HashMap<>();
    --- End diff --
    
    array will be a better structure for faster access of lookup of integer from 0..N to an object.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---