-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Kafka Connect: Support VARIANT when record convert #15283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
danielcweeks
merged 36 commits into
apache:main
from
seokyun-ha-toss:support-variant-for-sink-connector
Apr 22, 2026
+611
−0
Merged
Changes from 3 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
033f47f
feat: Implement support for VARIANT type in RecordConverter with conv…
seokyun-ha-toss a53af92
test: implement unit test for RecordConverter for Variant
seokyun-ha-toss 73ea656
chore: lint spotlessApply
seokyun-ha-toss 2b3fcb1
fix: there's no already Variant value, and use `Lists.of()`
seokyun-ha-toss 47f6fe5
fix: handle `BigDecimal` type in `numberToVariantValue()`
seokyun-ha-toss e8f57f1
fix: explicit error when unknown numeric type
seokyun-ha-toss b57e0d8
refactor: optimize field name collection in RecordConverter to use a …
seokyun-ha-toss 0117174
fix: ensure keys in map are non-null strings before processing in Rec…
seokyun-ha-toss be09349
refactor: loop entrySet once
seokyun-ha-toss 75ec7ce
test: enhance unit tests for Variant conversion with additional cases…
seokyun-ha-toss c6e558a
lint: apply gh actions auto-review and lints, split Cyclomatic Comple…
seokyun-ha-toss 787663d
lint: spotlessApply
seokyun-ha-toss 75dc8a2
feat: support `kafka Struct` type, and align if checking ordering
seokyun-ha-toss d9c8721
test: implt unittest for Variant for Struct
seokyun-ha-toss e517884
lint: gradlew spotlessApply
seokyun-ha-toss 8bb8740
feat: add support for BigInteger conversion to BigDecimal in RecordCo…
seokyun-ha-toss aa2bcce
feat: support for Date conversion to Variants
seokyun-ha-toss 5be9fa4
feat: support additional Date, Datetime, time types
seokyun-ha-toss 179b07a
lint: spotlessApply
seokyun-ha-toss c1d0be7
Fix java.util.Date variant conversion losing precision for Timestamp …
brandonstanleyappfolio 465fa92
Merge pull request #2 from brandonstanleyappfolio/variant-date-fix
seokyun-ha-toss 06b7afe
fix: explict throw exception when non-string key is used
seokyun-ha-toss a4c12b8
lint: spotlessApply
seokyun-ha-toss 568f7b1
test: remove duplicated
seokyun-ha-toss 10bff3d
test: integrate test convert variant value from list, map, struct
seokyun-ha-toss b8772ba
test: left only one unittest on `VariantValueFromStructWith` Date family
seokyun-ha-toss a99262e
test: add unittest for variant with timestamp family
seokyun-ha-toss ca47edf
Merge branch 'apache:main' into support-variant-for-sink-connector
seokyun-ha-toss 7530597
fix: [JavaUtilDate] Date has a bad API that leads to bugs
seokyun-ha-toss a312eb0
fix: resolve Cyclomatic Complexity
seokyun-ha-toss 818a515
fix: throw invalid key type
seokyun-ha-toss b1f379e
lint: spotlessApply
seokyun-ha-toss 1b849b7
fix: remove key null checking & use JLS pattern variable
seokyun-ha-toss 2412a6b
fix: remove Variant.from() ByteBuffer type, and pass-throught already…
seokyun-ha-toss f55df63
fix: change collect field names recursively from top-down to bottom-up
seokyun-ha-toss 546dfca
fix: resolve pattern-matching instanceof
seokyun-ha-toss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.