Skip to content

Commit

Permalink
Move DirectTrinoClient to a non-testing package
Browse files Browse the repository at this point in the history
This originted in testing code, but it is being repurposed as a
general-purpose utility, so it should not be in a `testing` package.

The tests for this class are in the `testing/trino-tests` module in
class `io.trino.tests.TestLocalQueries`, so they are not moved along
with it.
  • Loading branch information
ksobolew authored and wendigo committed Nov 21, 2024
1 parent ba75244 commit 1364863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.trino.testing;
package io.trino.client.direct;

import com.google.common.collect.ImmutableList;
import com.google.common.util.concurrent.ListenableFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import com.google.common.collect.ImmutableList;
import io.trino.Session;
import io.trino.client.direct.DirectTrinoClient;
import io.trino.dispatcher.DispatchManager;
import io.trino.dispatcher.DispatchQuery;
import io.trino.execution.QueryInfo;
Expand Down

0 comments on commit 1364863

Please sign in to comment.