Presto connections too many

Hi, we're going to launch a new Presto driver in the next version. Stay tuned

@rubenssoto

Today I've modified code and compiled it successfully, and it's tested to be possible.
The specific modifications are as follows:
Modules/drivers/presto/src/metabase/driver/presto.clj
Add Comment Line 234
;; (Execute-query-for-sync details sql-args)

@Luiggi this driver intends to solve this problem?

Thank you

Hello @utopian

With behavior do you want to achieve with this change?

thank you

the new driver intends to solve many problems:

  1. it will be more efficient as it uses JDBC
  2. it will be configurable, so you can pass parameters and tweak config settings
  3. it will allow developers to do more things internally with Metabase
1 Like

Its an open source project, so, I dont like to ask for ETA, im sorry for that, but only to help me with my roadmap, do you have any idea when this new driver will be done?

Thank you so much

we plan to ship it soon, probably next major version (v41)

1 Like

Hello @utopian

Did your tests work?

Do you have an idea to make a PR or a fork?

Thank you

It has passed the test and is feasible.
But I will not submit pr

Hi Luiggi, how are you?

I saw this PR today:

How could I test the new presto driver?

If is use this image
https://hub.docker.com/r/metabase/metabase
with latest tag is it possible?

Thank you so much

Hi @rubenssoto, you should be able to test it by running "docker run -it -p 3000:3000 metabase/metabase-head"

the metabase-head image is the one that has everything in the main branch (watch out as it's not a release branch)

Thank you for your answer, and after that is it the same presto source option or I have to choose a different one?

I haven't tested it yet, but I'm mostly sure that you'll have to do the switch from current driver to the JDBC one, but I'm not sure, so it would be great if you test it

When I choose presto, metabase show me that is the new driver....

I tired to connect, but I got some errors:

2021-07-25 01:11:40,339 ERROR api.database :: Não posso conectar ao banco de dados
java.lang.Exception: Unrecognized connection property 'engine'

Do I have to open an issue on github?

Yes please, thanks so much for testing this :slightly_smiling_face:

1 Like

No problem...

thank you :slight_smile: