Skip to content

Translate MAP ctor and element access to JSONB in Postgres dialect#1802

Open
ferenc-csaky wants to merge 1 commit intomainfrom
feature/postgres-sql-map-translate
Open

Translate MAP ctor and element access to JSONB in Postgres dialect#1802
ferenc-csaky wants to merge 1 commit intomainfrom
feature/postgres-sql-map-translate

Conversation

@ferenc-csaky
Copy link
Collaborator

Key changes

  • MapConstructorSqlTranslation covers the ctor translation
  • MapElementSqlTranslation covers the element access with a heuristic which will only work for textual keys for now

@ferenc-csaky ferenc-csaky added this to the 0.9.2 milestone Jan 13, 2026
@ferenc-csaky ferenc-csaky force-pushed the feature/postgres-sql-map-translate branch from e3b534c to 9596bf2 Compare January 13, 2026 18:54
@codecov
Copy link

codecov bot commented Jan 13, 2026

Codecov Report

❌ Patch coverage is 0% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 13.40%. Comparing base (5e4486c) to head (9596bf2).
⚠️ Report is 6 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ostgres/builtinflink/MapElementSqlTranslation.java 0.00% 15 Missing ⚠️
...res/builtinflink/MapConstructorSqlTranslation.java 0.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1802      +/-   ##
============================================
- Coverage     13.42%   13.40%   -0.02%     
  Complexity      734      734              
============================================
  Files           543      545       +2     
  Lines         15714    15735      +21     
  Branches       1829     1833       +4     
============================================
  Hits           2109     2109              
- Misses        13413    13434      +21     
  Partials        192      192              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ferenc-csaky ferenc-csaky modified the milestones: 0.9.2, 0.9.x Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant