Closed haoliangyu closed 6 years ago
nice work! I'm sure it's going to work, but will you add in a test case for the specific issue that kicked this off?
@dmfenton Do you mean these two tests?
I mean a test specifically for the bug in: https://esriarlington.tpondemand.com/entity/81713
This PR will parse the input WHERE clause into AST, instead of doing regex matching, and traverse the tree to generate translated clause. Not many comments are added since the implementation is very straightforwards. No regex hack :-)
From what I can tell from the test running, the speed is the same.
This PR has covered the problem at #53.