Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2164

StackOverflow in type computing for certain queries.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • COMP - Compiler

    Description

      The following query will cause the compiler stackoverflow (assume default udfs are installed):

      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;
      

      Attachments

        Activity

          People

            idleft Xikui Wang
            idleft Xikui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: