Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

yongkyun
Copy link
Contributor

unit test(testMultipartWhere2)'s converted query is somethting wrong

testMultipartWhere2 => ( ( A and B ) or C ) and ( D or E ) case is converted to ( ( A and B) and C ) and ( D or E ). that's wrong

I fixed this bug.

@jheimbouch
Copy link

@KangYongKyun , thank you for finding this error. We have re-evaluated our test and you are correct. This pull request should be merged. To fix the unit test, so that your pull request gets approved, please fix the unit test here:

src/test/java/org/nlpcn/es4sql/QueryTest.java
Line 416, Column 29 - Replace '11' with '127'

@yongkyun
Copy link
Contributor Author

yongkyun commented Apr 3, 2015

@jheimbouch Thank you for your answer. I fixed the second unit test's result.

src/test/java/org/nlpcn/es4sql/QueryTest.java
Line 416, Column 29 - Replace '11' with '127'

@omershelef
Copy link
Contributor

Thanks for your contribution!

omershelef added a commit that referenced this pull request Apr 9, 2015
 ( ( A and B ) or C ) and ( D or E ) case is converted to ( ( A and B) and C ) and ( D or E ). that's wrong
@omershelef omershelef merged commit a66e701 into NLPchina:master Apr 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants