From 26c32b7f4edff444eb2c1b43cab2b1b1ba8d2526 Mon Sep 17 00:00:00 2001 From: Semion Paramonow Date: Fri, 22 Nov 2024 18:45:11 +0100 Subject: [PATCH] Convert to protected for easier extension --- .../src/main/java/io/trino/plugin/jdbc/DefaultQueryBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/DefaultQueryBuilder.java b/plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/DefaultQueryBuilder.java index 194ad28584a61..b64ae363a591c 100644 --- a/plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/DefaultQueryBuilder.java +++ b/plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/DefaultQueryBuilder.java @@ -392,7 +392,7 @@ protected String getProjection(JdbcClient client, List columns return String.join(", ", projections); } - private String getFrom(JdbcClient client, JdbcRelationHandle baseRelation, Consumer accumulator) + protected String getFrom(JdbcClient client, JdbcRelationHandle baseRelation, Consumer accumulator) { if (baseRelation instanceof JdbcNamedRelationHandle) { return " FROM " + getRelation(client, ((JdbcNamedRelationHandle) baseRelation).getRemoteTableName());