Skip to content
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

feat(sql): Add JSON support #3972

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ztefanie
Copy link
Contributor

@ztefanie ztefanie commented Feb 7, 2025

Description

Added JSON parsing for string columns.
Added Uni Tests for all sql specific json columns

Related issues

closes #3895

Checklist

  • PR has a milestone or the no milestone label.

@ztefanie ztefanie added this to the 8.8.0-alpha2 milestone Feb 7, 2025
@ztefanie ztefanie requested a review from a team as a code owner February 7, 2025 11:35
@ztefanie ztefanie force-pushed the 3895-sql-connector-add-json-support branch from 8765e80 to b3eaa4c Compare February 10, 2025 13:37
@ztefanie ztefanie force-pushed the 3895-sql-connector-add-json-support branch from b3eaa4c to 4b5a24d Compare February 10, 2025 14:35
@ztefanie ztefanie force-pushed the 3895-sql-connector-add-json-support branch from efae941 to cde0ea0 Compare February 11, 2025 09:52
}

private static boolean isJsonColumn(String databaseProductName, String columnTypeName) {
Map<String, Set<String>> dbTypeMapping = new HashMap<>();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor detail, but it can be a static field in this class created with Map.of(....,...,....,...)

Copy link
Collaborator

@johnBgood johnBgood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

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.

[SQL Connector] Add JSON support
3 participants