Improvements to SQL array support #5562
Replies: 4 comments 11 replies
-
In addition, I'd like to add the following:
Also, wanted to note that array indexes should be 1-based to align with other functions. The |
Beta Was this translation helpful? Give feedback.
-
So I see that Db2—and I believe Oracle as well—supports a sort of array type that has to be declared as a UDT. I'm thinking we should introduce an That's assuming these types are actually usable to us via JDBC (it's not very clear what the limitations are from the docs). |
Beta Was this translation helpful? Give feedback.
-
This is done / will be done as part of https://hibernate.atlassian.net/browse/HHH-16780 and https://hibernate.atlassian.net/browse/HHH-17335. |
Beta Was this translation helpful? Give feedback.
-
@beikov here's some suggestions for "syntax sugar" for array support:
That's all I can think of for now. FTR, I have not thought through any of these things at all, and some might not make sense. |
Beta Was this translation helpful? Give feedback.
-
This is a spot to gather a list of missing features for our support for SQL arrays:
unnest()
operation, which is logically like a joinarray_agg()
, which is necessary for collecting values into an arrayI'm sure there must be other things, more functions, for example.
Beta Was this translation helpful? Give feedback.
All reactions