Skip to content

Conversation

@prrvchr
Copy link
Member

@prrvchr prrvchr commented Aug 16, 2024

Description

Add new HsqlDB connector

Additional context and related issues

I would like to add some pure JDBC functions to Trino in order to be able to provide better integration with LibreOffice Base.
This new connector is a good way to achieve this...
The ultimate goal is to offer LibreOffice Base the possibility via Trino to consolidate or even edit data coming from different DBMS in a very easy way.

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# Section
* Add HsqlDB connector to Trino.

@cla-bot cla-bot bot added the cla-signed label Aug 16, 2024
@prrvchr prrvchr requested a review from ebyhr August 16, 2024 22:18
@prrvchr prrvchr force-pushed the hsqldb branch 4 times, most recently from b50a6ca to a559036 Compare August 17, 2024 02:25
@prrvchr prrvchr added the enhancement New feature or request label Aug 17, 2024
@prrvchr prrvchr force-pushed the hsqldb branch 4 times, most recently from e02c7ae to b7fddc2 Compare August 21, 2024 13:35
@prrvchr
Copy link
Member Author

prrvchr commented Aug 22, 2024

Well I have to admit that I only have 4GB of memory on my laptop and that I am unable to launch the tests locally (it freezes my terminal) and that therefore I am obliged to push in order to obtain a result...
So this might take a little time...

@prrvchr prrvchr force-pushed the hsqldb branch 3 times, most recently from 35a052b to 7051d03 Compare August 22, 2024 12:02
@prrvchr prrvchr requested review from findepi and martint August 22, 2024 12:58
Copy link
Member

Choose a reason for hiding this comment

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

I would recommend removing timestamp types from the initial PR as most developers introduce a bug during the implementation.

Copy link
Member Author

@prrvchr prrvchr Sep 22, 2024

Choose a reason for hiding this comment

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

Ok, TIMESTAMP and TIMESTAMP_WITH_TIMEZONE were removed from this initial PR (ie: see file HsqlDbClient.java)

Copy link
Member

Choose a reason for hiding this comment

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

Worth leaving a code comment why specifying this property.

Copy link
Member

Choose a reason for hiding this comment

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

Remove a redundant base class. All code should go to TestHsqlDbConnectorTest.

Copy link
Member

Choose a reason for hiding this comment

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

Please sort alphabetically. Also, remove redundant conditions holding the same value in the base class.

Copy link
Member

Choose a reason for hiding this comment

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

Remove redundant System.out.println. Same for others.

Copy link
Member

Choose a reason for hiding this comment

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

Move main method to the bottom.

Copy link
Member

Choose a reason for hiding this comment

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

https://trino.io/docs/current/develop/tests.html

Test classes should be defined as package-private and final.

Same for others.

Copy link
Member

Choose a reason for hiding this comment

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

https://trino.io/docs/current/develop/tests.html

Test methods should be defined as package-private.

Same for others.

Copy link
Member

Choose a reason for hiding this comment

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

No need to add a smoke test unless you run with the different HSQLDB version from TestHsqlDbConnectorTest.

@github-actions
Copy link

This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua

@github-actions github-actions bot added the stale label Oct 14, 2024
@github-actions
Copy link

github-actions bot commented Nov 4, 2024

Closing this pull request, as it has been stale for six weeks. Feel free to re-open at any time.

@github-actions github-actions bot added the stale label Jul 9, 2025
@prrvchr
Copy link
Member Author

prrvchr commented Jul 10, 2025

I'm almost done with whatever's been stopping me from continuing here.
I'll be back soon, with the right tools to finish the job...

@github-actions github-actions bot removed the stale label Jul 10, 2025
@github-actions
Copy link

This pull request has gone a while without any activity. Ask for help on #core-dev on Trino slack.

@github-actions github-actions bot added the stale label Jul 31, 2025
@github-actions
Copy link

Closing this pull request, as it has been stale for six weeks. Feel free to re-open at any time.

@github-actions github-actions bot closed this Aug 22, 2025
@martint martint reopened this Aug 22, 2025
@github-actions github-actions bot removed the stale label Aug 25, 2025
@github-actions
Copy link

This pull request has gone a while without any activity. Ask for help on #core-dev on Trino slack.

@github-actions github-actions bot added the stale label Sep 15, 2025
@github-actions
Copy link

github-actions bot commented Oct 6, 2025

Closing this pull request, as it has been stale for six weeks. Feel free to re-open at any time.

@github-actions github-actions bot closed this Oct 6, 2025
@prrvchr prrvchr reopened this Nov 5, 2025
@prrvchr prrvchr closed this Nov 6, 2025
@prrvchr prrvchr deleted the hsqldb branch November 6, 2025 09:43
@prrvchr prrvchr mentioned this pull request Nov 6, 2025
@prrvchr
Copy link
Member Author

prrvchr commented Nov 6, 2025

This PR has been closed and a new attempt is available here: #27227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

5 participants