Skip to content

Add Apache Pinot® as supported database #637

Open
@gAmUssA

Description

@gAmUssA

Description
As part of our ongoing efforts to expand the range of databases supported by the Kotlin DataFrame project, I propose adding support for Apache Pinot®. Apache Pinot® is a real-time distributed OLAP datastore designed to deliver scalable real-time analytics with low latency. It can ingest data from batch and stream data sources in real time, making it a versatile choice for real-time analytics applications.

import org.jetbrains.kotlinx.dataframe.io.DatabaseConfiguration
import org.jetbrains.kotlinx.dataframe.api.print
import java.sql.DriverManager

val url = "jdbc:pinot://localhost:9000?brokers=localhost:8099"

val dbConfig = DatabaseConfiguration(url)

var dataFrame = DataFrame.readMySqlTable(dbConfig, "order_items_enriched", 10)
dataFrame.print()

getting error

Unsupported database type in the url: jdbc:pinot:localhost#8099. Only H2, MariaDB, MySQL, SQLite and PostgreSQL are supported!
java.lang.IllegalArgumentException: Unsupported database type in the url: jdbc:pinot:localhost#8099. Only H2, MariaDB, MySQL, SQLite and PostgreSQL are supported!

Metadata

Metadata

Assignees

Labels

databasesJDBC related issuesenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions