-
Notifications
You must be signed in to change notification settings - Fork 971
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: maps AVRO BYTES ByteBuffer column (#1893)
* feat: maps AVRO BYTES ByteBuffer column AVRO GenericData uses java.nio.ByteBuffer as a representation of BYTES data (see https://github.com/apache/avro/blob/main/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java#L1093). This PR maps a ByteBuffer record into a byte array so it can be written into Spanner. * fix: default to bytebuffer instead of byte[] * fix: update error message
- Loading branch information
1 parent
a6027f6
commit ab97ff6
Showing
3 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters