You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Alina Ipatina (JIRA)" <ji...@apache.org> on 2018/07/20 11:49:00 UTC
[jira] [Commented] (CALCITE-2416) Assertion error when determining
monotonicity
[ https://issues.apache.org/jira/browse/CALCITE-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16550690#comment-16550690 ]
Alina Ipatina commented on CALCITE-2416:
----------------------------------------
Expression 2*2 (or 2*2*2 etc) processes as literal, but it is an operation.
PR with fix: https://github.com/apache/calcite/pull/766
> Assertion error when determining monotonicity
> ---------------------------------------------
>
> Key: CALCITE-2416
> URL: https://issues.apache.org/jira/browse/CALCITE-2416
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.15.0, 1.16.0, 1.17.0
> Reporter: Pressenna
> Assignee: Julian Hyde
> Priority: Major
>
> {code:java}
> CREATE TABLE test ( x integer, y integer);
> SELECT 2 * 2 * x FROM test;{code}
>
> Causes:
> Exception in thread "main" java.lang.AssertionError: Internal error: invalid literal: 2 * 2
>
> Re-raising CALCITE-1504 which was fixed via CALCITE-1486
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)