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

StackOverflow in type computing for certain queries.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: COMP - Compiler
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: