vvysotskyi commented on a change in pull request #1820: DRILL-7307: casthigh
for decimal type can lead to the issues with VarDecimalHolder
URL: https://github.com/apache/drill/pull/1820#discussion_r300467736
##########
File path:
exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestSimpleCastFunctions.java
##########
@@ -160,4 +160,19 @@ public void testIncorrectNumericBoolean() throws
Exception {
}
}
+ @Test
+ public void testDecimalConstantCast() throws Exception {
+ test("select casthigh(cast(1025.0 as decimal(28,8)))");
Review comment:
Please also verify query results here and in the tests below.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services