Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
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[]`