tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmallette (GitHub) <git...@apache.org>
Subject [GitHub] [tinkerpop] spmallette opened pull request #1272: TINKERPOP-2345 Improved error message for bad value for math()
Date Tue, 31 Mar 2020 17:19:00 GMT
https://issues.apache.org/jira/browse/TINKERPOP-2345

This problem really only applies to 3.4.x since by() didn't modulate Map traversers in 3.3.x.
This change does also however fix the error message for non-Number objects trying to be passed
into a math() expression, but the error is at least more understandable than the NullPointerException
- on 3.3.x we get "java.lang.String cannot be cast to java.lang.Number" which while not perfect
is probably good enough for that older version. It didn't seem like a big enough problem to
add the enhancement there.

All tests pass with `docker/build.sh -t -n -i`

VOTE +1

[ Full content available at: https://github.com/apache/tinkerpop/pull/1272 ]
This message was relayed via gitbox.apache.org for dev@tinkerpop.apache.org

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message