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

GET_TYPE function gives bad results with multiple records

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • FUN - Functions
    • None

    Description

      Query below:

      FROM [
        {"f": "a"}, {"f": "b"}, {"f": "c"}
      ] AS D
      SELECT GET_TYPE(D.f);

      gives the following results:

      [
              {
                      "$1": "string"
              },
              {
                      "$1": "stringstring"
              },
              {
                      "$1": "stringstringstring"
              }
      ]
      

       

       

      Attachments

        Activity

          People

            ggalvizo Glenn Justo Galvizo
            ggalvizo Glenn Justo Galvizo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: