Details
Description
For XPath queries with many "or" conditions of the form "@x = 1 or @x = 2 or @x = 3", the converter could throw a StackOverflowException (during the optimization phase).
Such conditions are converted to "x in (1, 2, 3)", however this conversion is recursive and relatively slow. We need to make sure at least 10'000 conditions can be processed efficiently.