You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/var/git/velox/velox/vector/tests/utils/VectorTestBase.cpp:151: Failure
Value of: expected->equalValueAt(actual.get(), i, i)
Actual: false
Expected: true
at 0: expected 1234567.89, but got 12345.67
Google Test trace:
/var/git/velox/./velox/functions/prestosql/tests/CastBaseTest.h:217: Flat encoding
/var/git/velox/./velox/functions/prestosql/tests/CastBaseTest.h:212: Cast from JSON to DECIMAL(10, 2)
Bug description
It seems casting JSON to decimal is not supported. Should we disable the toType for decimal, similar to how it's handled for date types?
https://github.com/facebookincubator/velox/blob/main/velox/functions/prestosql/types/JsonType.cpp#L1201
System information
Velox System Info v0.0.2
Commit: e80bf12
CMake Version: 3.28.3
System: Linux-5.15.167.4-microsoft-standard-WSL2
Arch: x86_64
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 11.4.0
C Compiler: /usr/bin/cc
C Compiler Version: 11.4.0
CMake Prefix Path: /usr/local;/usr;/;/usr/local/lib/python3.10/dist-packages/cmake/data;/usr/local;/usr/X11R6;/usr/pkg;/opt
Relevant logs
No response
The text was updated successfully, but these errors were encountered: