GitHub user kaspersorensen opened a pull request:
https://github.com/apache/metamodel/pull/171
METAMODEL-1173: Fixed issue with evaluating ScalarFunctions in WHERE.
This is a fix for METAMODEL-1173. It may seem a quite indirect fix in the
sense that it uses a (new) SUBSTRING function to reproduce the issue, but from
a testing perspective I needed a scalar function that was easier to work with
on test data, and that took function parameters. Since we didn't have that, I
found that the easiest way to test it was actually to introduce a new scalar
function. It may be somewhat of a side-effect, but hopefully an agreeable/good
one?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kaspersorensen/metamodel
map-value-resolution-in-where
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/metamodel/pull/171.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #171
----
commit 1bac17863a2a7c49ba8686fb4dc47d67a1a71773
Author: Kasper Sørensen <[email protected]>
Date: 2017-11-30T06:27:05Z
METAMODEL-1173: Fixed issue with evaluating ScalarFunctions in WHERE.
----
---