This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/5.1 by this push:
new 4dbc441a26 PHOENIX-7005 Spark connector tests cannot compile with
latest Phoenix
4dbc441a26 is described below
commit 4dbc441a26ed5495c1ef2d2855214cf7f776a3c3
Author: Istvan Toth <[email protected]>
AuthorDate: Tue Jul 25 14:16:23 2023 +0200
PHOENIX-7005 Spark connector tests cannot compile with latest Phoenix
---
phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
index cfab25f2fe..6349a2146d 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
@@ -744,7 +744,7 @@ public abstract class BaseTest {
createTestTable(url, ddl, splits, ts);
}
- public static ResultSet executeQuery(Connection conn, QueryBuilder
queryBuilder) throws SQLException {
+ protected ResultSet executeQuery(Connection conn, QueryBuilder
queryBuilder) throws SQLException {
PreparedStatement statement =
conn.prepareStatement(queryBuilder.build());
ResultSet rs = statement.executeQuery();
return rs;