Uploaded image for project: 'Teiid Spring Boot'
  1. Teiid Spring Boot
  2. TEIIDSB-105

Modelling a Json entitty with array of "details"

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.2.0
    • None
    • JPA
    • None

    Description

      When using the @JsonTable the construct only supports reading the array type of same data types, with mixed type it does not work. For ex:

      [1, 1, 3]
      

      works, but

      [1, "two", 3.0]
      

      does not work. If the user chooses to read it as a string array converting the values to match Teiid semantics it is not possible. However, when it is created as

      { id: 1, desc: "two", weight: 3.0}
      

      can be read an entity. The array form could also be modeled as an entity with single parameter as `string[]`

      Attachments

        Activity

          People

            rhn-engineering-rareddy Ramesh Reddy
            rhn-engineering-rareddy Ramesh Reddy
            Archiver:
            rhn-support-adandapa Aitik Dandapat

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty