-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Connecting to Apache Pinot as a data source #8579
Comments
cC @igorlukanin Should we add this to #7076? |
If you are interested in working on this issue, please go ahead and provide PR for that. |
@AnishNair94 Thanks for the proposal! I think it would be great if someone from the community volunteers to create a Pinot driver. We have some contribution guidelines here: https://github.com/cube-js/cube/blob/master/CONTRIBUTING.md#contributing-database-drivers |
Hello! We were facing the same requirements building our application using Pinot as a datasource. We ended up using CubeJS -> Trino -> Apache Pinot. The Trino driver uses the Presto driver. This driver uses a polling method to query trino, which degrades the performances. The default checkInterval is set to 800ms. As mentioned in this issue, you can lower the interval to get better response times. You can do so in cubejs by providing a driverFactory: const TrinoDriver = require('@cubejs-backend/trino-driver');
module.exports = {
driverFactory: ({ securityContext }) => {
return new TrinoDriver({checkInterval: 100})
},
}; I'm working on a cubejs driver for Apache Pinot whenever I get some spare time. Hopefully it won't take me too long. |
Hi @jronsse 👋 Amazing! Thanks for taking the lead on this! |
Hey @jronsse |
Hello @AnishNair94 ! I just tried it on my end with the latest version CUBEJS_DB_TYPE=pinot
CUBEJS_DB_HOST=http[s]://pinot.broker.host
CUBEJS_DB_PORT=8099
CUBEJS_DB_USER=pinot_user
CUBEJS_DB_PASS=********** The user and password are not mandatory. Please let me know if you encounter any issues using the driver once you've got it up and running. |
I've added a note on the UI vs. env vars in the docs on the Pinot page. With that, I guess we're good to close this issue as resolved. Huge thanks for your contribution @jronsse 🙌 |
Is your feature request related to a problem? Please describe.
The lack of Apache Pinot integration in Cube creates a bottleneck in our analytics workflow, limiting our ability to fully leverage the benefits of Cube headless BI approach.
Describe the solution you'd like
I would like Cube to add native integration with Apache Pinot by developing a dedicated driver or connector.
Describe alternatives you've considered
It seems like the only other alternatives are to look for another headless BI tool or create our own.
Additional context
Apache Pinot version 1.0, Looking for Multi-Stage Engine Support which has join, subquery etc and closer to ANSI-SQL.
The text was updated successfully, but these errors were encountered: