-
Notifications
You must be signed in to change notification settings - Fork 0
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
Trino database #8
Comments
Hi PeterSchmidt23,
Why not, where can we find a jar archive?
I am working on the new version which uses |
Thank you. |
Ok and how to set up a test environment quickly? |
Do you have Docker installed? |
yes, I already use it.
Is it possible to do the same thing with MariaDB, because I already have MariaDB installed but not MySQL? |
You can do it with you current MariaDB instance. Trino MariaDB connection-url=jdbc:mariadb://example.net:3306 connection-user=root connection-password=secret |
Thanks for this information, I will try to set this up. I didn't know about Trino but effectively it looks amazing... |
I will be able to override this limitation however I cannot know if the |
Overriding the ResultSet limitations sounds good. |
I can easily make an TYPE_FORWARD_ONLY
Yes, I would like to find an How To on installing Trino and MariaDB with docker |
|
Thanks, I've made a little progress. I manage to connect to a Trino instance that I launch this way.
but if I try to connect to an instance with a MariaDB catalog I can't.
or
|
Sorry, for my latge answer. I made you a repository to get started. After that, just run (Untested) |
Thank you very much, this will save me a lot of time. |
Thanks for the docker/Trino/MariaDB configuration, it works perfectly... I have just published the latest version 1.3.3 of jdbcDriverOOo which integrates the Trino driver version 448. On the other hand, for the moment not much is working correctly, and it will take a little time to get everything working. I have already opened two issues which pose a problem when creating tables and as I prefer to have the least driver specific code, I will wait to see if these first two problems can be fixed by Trino. One of the problems which prevents the creation of tables can be work around by a change of parameter in the LibreOffice configuration. Just go to the menu: Tools -> Options... -> LibreOffice -> Advanced -> OpenExpertConfiguration and search for Once this is done it is possible to create tables but an error message will state that the table could not be created. You must ignore this message and simply reload the tables to see that it has been created. Another problem seems to be that primary keys are not recognized by Base. |
The second issue can be worked around by only creating lowercase table names... |
Perfect. I will give it a try 👍🏻 |
Well I finally managed to publish version 1.3.3. Trino poses problems when editing tables in Bases and this will only work when the issue #22306 is resolved. I hope it will be quick... |
I am currently evaluating the extension. Do you know if it's possible to change the generated SQL syntax.
Problematic is the { oj syntax. |
How do you get such a join? Is it LibreOffice Base that generates such a request? I just re-updated version 1.4.0. This time we are able to edit tables in Base with Trino... This is not optimal because I am obliged (see issue #22408) to search for the first column that does not contain a duplicate and consider that it is the primary key. Therefore, it is preferable to put the primary key in the first column to avoid any confusion. |
Thank you for 1.4.0! |
If it's Base then there must be settings for this. I need to look in the LibreOffice code... Maybe you know what is used by Trino users to administer a Trino server (creation of tables, data entry, etc.). |
Thanks for looking. Trino uses standard ANSI SQL. Perhaps it is possible to change to MySQL/MariaDB syntax, if possible. |
I found the settings in LibreOffice. But you only get this dialog, if you create a new database with the default JDBC wizard of LibreOffice. So there must be a difference, when setting up a new database. |
Ok, I need to enable this setting for the jdbcDriverOOo driver because at the moment it is not supported. I'm looking at what's going on. Thank you for the info... |
Thank you. |
Well all these settings are now available in jdbcDriverOOo version 1.4.1. You must recreate the odb files to see them appear. I have not tested the creation of queries. |
Is it possible to include the Trino JDBC driver?
More infos about Trino .
The problem is, that the Trino driver requires a forward only resultset.
The text was updated successfully, but these errors were encountered: