Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Update to Trino-411 #90

Merged
merged 1 commit into from
Apr 6, 2023
Merged

Conversation

DimitrisStaratzis
Copy link
Contributor

@DimitrisStaratzis DimitrisStaratzis commented Apr 3, 2023

This update adds support for Trino-411.

  • Some dependencies needed to update.

  • Also, trino removed the trino.testing....assertEquals method because of this (however the error described in the link did not affect us). I am now using the testng.AssertEquals instead. The modernizer suggested to use the presto.testing....assertEquals but I thought that it is unnecessary to include presto as a dependency and when I tried, several dependency conflicts came up.

@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/update_to_trino_411 branch 5 times, most recently from 9ab4d56 to b344f12 Compare April 3, 2023 11:24
@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/update_to_trino_411 branch from b344f12 to 8df5d13 Compare April 3, 2023 17:51
<configuration>
<parallel>methods</parallel>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Parallel testing was creating flakiness

* @param attr The attribute
* @param isString True if the attribute is String
* @param bound The bound
* @param op TIleDB operator
* @return The query Condition
* @throws TileDBError
* @throws TileDBError TileDBError
Copy link
Member

Choose a reason for hiding this comment

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

Why the repetition?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Trino 411 introduced more format checks, one of them is that every parameter in the java docs needs to have a description. That's why I added TileDBError

@@ -542,12 +541,13 @@ else if (attBounds.getSecond() == null) {

/**
* Returns the Query condition for the given bound.
*
* @param attr The attribute
* @param isString True if the attribute is String
* @param bound The bound
* @param op TIleDB operator
Copy link
Member

Choose a reason for hiding this comment

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

typo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same reason as above, parameters in java docs now need to have one empty line preceding them

@DimitrisStaratzis DimitrisStaratzis merged commit 7c73520 into master Apr 6, 2023
@DimitrisStaratzis DimitrisStaratzis deleted the dstara/update_to_trino_411 branch April 6, 2023 17:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants