Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Refine tests. Extend comment for future-me.

See #1900
Original pull request: #1903
  • Loading branch information
mp911de committed Oct 2, 2024
1 parent 5204336 commit 98508c5
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 168 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ private JdbcValue writeValue(@Nullable Object value, TypeInformation<?> typeInfo

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();
Expand Down
Loading

0 comments on commit 98508c5

Please sign in to comment.