Xikui Wang created ASTERIXDB-2164:
-------------------------------------

             Summary: 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
            Reporter: Xikui Wang


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
(v6.4.14#64029)

Reply via email to