Skip to content

Added type mappings tests and docs for ALL supported DBs - #2002

Open
AndreiKingsley wants to merge 17 commits into
masterfrom
jdbc_types_tests_and_docs
Open

Added type mappings tests and docs for ALL supported DBs#2002
AndreiKingsley wants to merge 17 commits into
masterfrom
jdbc_types_tests_and_docs

Conversation

@AndreiKingsley

@AndreiKingsley AndreiKingsley commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Fixes #1736

For each DBType implementation, tests ALL possible sql types metadata -> expected ktype mappings and add info about it in docs.

@zaleslaw

Copy link
Copy Markdown
Collaborator

Link it to the issue or create with the proper description

@AndreiKingsley AndreiKingsley changed the title Jdbc types tests and docs Added type mappings tests and docs for ALL supported DBs Aug 7, 2026
@AndreiKingsley
AndreiKingsley marked this pull request as ready for review August 19, 2026 14:11
Comment thread docs/StardustDocs/topics/readSqlTypeMapping_MsSql.md Outdated
Comment thread docs/StardustDocs/topics/readSqlTypeMapping.md Outdated
Comment thread docs/StardustDocs/topics/io/readSqlTypeMapping_SQLite.md
Comment thread dataframe-jdbc/src/main/kotlin/org/jetbrains/kotlinx/dataframe/io/db/Sqlite.kt Outdated

@Jolanrensen Jolanrensen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good overall :D

@jetbrains-air jetbrains-air Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Really nice groundwork here — a couple of blocking spots to sort out first, then this is good to go.

Produced by AIR Automations. Name: Code Review / Run: https://air.jetbrains.cloud/org/05cf1a7f-6ab5-713b-abd3-29d0c8a05e2d/automations/61bd2991-de64-4a10-9895-fd00e7c1f42f?run=9f19003d-4019-41b7-bc81-8eadf4f49d13

Comment thread dataframe-jdbc/src/main/kotlin/org/jetbrains/kotlinx/dataframe/io/db/Sqlite.kt Outdated
Comment thread docs/StardustDocs/topics/io/readSqlTypeMapping_PostgreSQL.md
*
* val df = DataFrame.readSqlTable(connection, "events", dbType = sqliteCustom)
* ```
* @sample [org.jetbrains.kotlinx.dataframe.samples.io.jdbc.SqliteSamples.complexSqlite]

@Jolanrensen Jolanrensen Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Woop woop! KoDEx @sample from :samples in the wild :D I might need to check whether I can let it fail gracefully in the IntelliJ plugin... Now it's impossible to preview the rest of the doc unless you disable this sample.
Jolanrensen/KoDEx#112

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.

Add getExpectedJdbcType tests for different DbTypes

3 participants