[ https://issues.apache.org/jira/browse/PHOENIX-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15493977#comment-15493977 ]
James Taylor commented on PHOENIX-3264: --------------------------------------- Once you have a RexNode, you'll need to: - convert from RexNode to Expression ([~maryannxue] can point you to this) - evaluate the Expression using ExpressionUtil.getConstantExpression(expression,ptr); - convert the bytes of ptr to an Object using expression.getDataType().toObject(ptr); > Allow TRUE and FALSE to be used as literal constants > ---------------------------------------------------- > > Key: PHOENIX-3264 > URL: https://issues.apache.org/jira/browse/PHOENIX-3264 > Project: Phoenix > Issue Type: Sub-task > Reporter: James Taylor > Attachments: SqlLiteral.png, SqlOptionNode.png, stacktrace.png > > > Phoenix supports TRUE and FALSE as boolean literals, but perhaps Calcite > doesn't? Looks like this is leading to a fair number of failures. -- This message was sent by Atlassian JIRA (v6.3.4#6332)