Github user kavinderd commented on a diff in the pull request:
    --- Diff: 
pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ ---
    @@ -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 
    --- End diff --
    I think we'll need to go with an array. I haven't found a way to do a 
reverse lookup of a Enum based on `int` values. Enum.valueOf() takes a String.

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 or file a JIRA ticket
with INFRA.

Reply via email to