Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5222

Invalid conversion when selecting array

    XMLWordPrintable

Details

    Description

      When issuing a query to select array from table in H2 database in teiid such as:

      SELECT (a,b) FROM y;
      

      a,b are both strings.
      it throws the following error:

      Error: TEIID10076 Invalid conversion from type class java.lang.Object with value '[Ljava.lang.Object;@30b0a27' to type class [Ljava.lang.String;
      

      When issuing this query against H2 directly it works without error.
      I find the issue when testing TEIID-4380, teiid issues such a query when building the response for deep insert.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            mkosiarc@redhat.com Maximilian Kosiarcik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: