Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAWQ-964. Support for OR and NOT Logical Operators #905

Closed
wants to merge 1 commit into from

Conversation

kavinderd
Copy link
Contributor

Signed-off-by: Leslie Chang hi.lesliechang@gmail.com

}
return;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whitespace

import java.util.Arrays;
import java.util.List;


Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whitespace

import org.junit.Test;

import java.util.List;

import static org.apache.hawq.pxf.api.FilterParser.BasicFilter;
import org.apache.hawq.pxf.api.BasicFilter;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whitespace

FilterParser parser = new FilterParser(this);
Object result = parser.parse(filterString);
// First check for NOT, HBase does not support this
if (filterString.contains(OR_OP)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to NOT_OP

Signed-off-by: Leslie Chang <hi.lesliechang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant