You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Xikui Wang (JIRA)" <ji...@apache.org> on 2018/03/15 00:28:00 UTC

[jira] [Resolved] (ASTERIXDB-2164) StackOverflow in type computing for certain queries.

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xikui Wang resolved ASTERIXDB-2164.
-----------------------------------
    Resolution: Fixed

> StackOverflow in type computing for certain queries.
> ----------------------------------------------------
>
>                 Key: ASTERIXDB-2164
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2164
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler
>            Reporter: Xikui Wang
>            Assignee: Xikui Wang
>            Priority: Major
>              Labels: triaged
>
> The following query will cause the compiler stackoverflow (assume default udfs are installed):
> {code:sql}
> use test;
> create type TwitterUserType as closed {
>  screen_name: string,
>  language: string,
>  friends_count: int32,
>  status_count: int32,
>  name: string,
>  followers_count: int32
> };
> create type Tweet as open {
>  id: int64,
>  user: TwitterUserType,
>  latitude: double,
>  longitude: double,
>  message_text: string,
>  created_at: string,
>  country: string
> };
> create dataset SyntheticTweets(Tweet) primary key id;
> SET `compiler.parallelism` "5";
> From SyntheticTweets t0
> let t1 = testlib#addHashTagsInPlace(t0)
> group by t0.id
> SELECT t1;
> {code}



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