You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/07/24 16:33:00 UTC

[jira] [Commented] (ASTERIXDB-2420) Error with limit clause: Variable not found

    [ https://issues.apache.org/jira/browse/ASTERIXDB-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16554493#comment-16554493 ] 

ASF subversion and git services commented on ASTERIXDB-2420:
------------------------------------------------------------

Commit 64839b225b3bf4a7c4fd932cc68f8d099e7e0a58 in asterixdb's branch refs/heads/master from [~dlychagin-cb]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=64839b2 ]

[ASTERIXDB-2420][COMP] Internal error with limit clause

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- CopyLimitDownRule must not copy limit below clauses
  that produce that limit’s variables

Change-Id: I6c77b7e24d6d0a95f3c772301d592c5b5c478119
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2805
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Taewoo Kim <wa...@gmail.com>


> Error with limit clause: Variable not found
> -------------------------------------------
>
>                 Key: ASTERIXDB-2420
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2420
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Minor
>
> Query:
> select value t.id
> from DBLP1 t
> order by t.id
> limit \{"a":1}.a offset \{"a":1}.a
> Error: 
> java.lang.Exception: Variable $$17 could not be found in any input schema



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)