Polishing.

Refine tests. Extend comment for future-me.

See #1900
Original pull request: #1903
This commit is contained in:
Mark Paluch
2024-10-02 15:07:09 +02:00
parent ae8651869e
commit 8622d70ba4
2 changed files with 170 additions and 168 deletions

View File

@@ -244,7 +244,8 @@ public class StringBasedJdbcQuery extends AbstractJdbcQuery {
TypeInformation<?> actualType = typeInformation.getActualType();
// tuple-binding
// allow tuple-binding for collection of byte arrays to be used as BINARY,
// we do not want to convert to column arrays.
if (actualType != null && actualType.getType().isArray() && !actualType.getType().equals(byte[].class)) {
TypeInformation<?> nestedElementType = actualType.getRequiredActualType();