[ https://issues.apache.org/jira/browse/DRILL-7307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890979#comment-16890979 ]
Pavel Semenov commented on DRILL-7307: -------------------------------------- After running query, correct result appears apache drill> select casthigh(cast(1025.0 as decimal(28,8))); +---------------------+ | EXPR$0 | +---------------------+ | 1025.00000000 | +---------------------+ 1 row selected (0.263 seconds) > casthigh for decimal type can lead to the issues with VarDecimalHolder > ---------------------------------------------------------------------- > > Key: DRILL-7307 > URL: https://issues.apache.org/jira/browse/DRILL-7307 > Project: Apache Drill > Issue Type: Bug > Reporter: Dmytriy Grinchenko > Assignee: Dmytriy Grinchenko > Priority: Critical > Labels: ready-to-commit > Fix For: 1.17.0 > > > The decimal cast may lead to issues with VarDercimal transformation and > issues at uml functions which using casthigh under the hood > Example: > {code} > apache drill> select casthigh(cast(1025.0 as decimal(28,8))); > Error: SYSTEM ERROR: CompileException: Line 25, Column 60: "isSet" is neither > a method, a field, nor a member class of > "org.apache.drill.exec.expr.holders.VarDecimalHolder" > Fragment 0:0 > Please, refer to logs for more information. > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016)