Add DuckDB MAP type support and MariaDB typed SET generation - #179
Merged
Conversation
oyvindberg
force-pushed
the
duckdb-map-mariadb-set
branch
3 times, most recently
from
January 4, 2026 10:51
9da52c8 to
833fba9
Compare
DuckDB MAP:
- Add DuckDbMapSupport with native array conversion for MAP types
- Map DuckDB MAP(K,V) to java.util.Map<K,V> instead of String
- Update DuckDbType and DuckDbTypes with MAP conversion methods
- Add MAP type tests in DuckDbTypeTest
MariaDB SET:
- Generate typed SET classes from SET('x','y','z') definitions
- Derive class names from sorted values (e.g. XYZSet from SET('x','y','z'))
- Generate member enum (XYZSetMember) and wrapper class (XYZSet)
- Add Naming.setTypeName for SET type naming
- Create ComputedMariaSet and FileMariaSet for code generation
- Use kotlin.collections.Set for Kotlin (not java.util.Set)
- Add SET default values to TestInsert generation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
oyvindberg
force-pushed
the
duckdb-map-mariadb-set
branch
from
January 4, 2026 13:17
833fba9 to
7258668
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
MAP(K,V)tojava.util.Map<K,V>instead of String, with native array conversion supportSET('x','y','z')definitionsXYZSetfromSET('x','y','z'))XYZSetMember) and wrapper class (XYZSet)kotlin.collections.Setfor Kotlin (notjava.util.Set)Test plan
🤖 Generated with Claude Code