This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch PHOENIX-7562-feature
in repository https://gitbox.apache.org/repos/asf/phoenix.git

commit a90f0fcf2cf138cf6d7a449fabe60b2f976e59c2
Author: Palash Chauhan <[email protected]>
AuthorDate: Fri May 16 17:56:23 2025 -0700

    PHOENIX-7614 : Fix atmoic update return result with case sensitive table 
name (#2157)
---
 .../src/main/java/org/apache/phoenix/util/TupleUtil.java                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/phoenix-core-client/src/main/java/org/apache/phoenix/util/TupleUtil.java 
b/phoenix-core-client/src/main/java/org/apache/phoenix/util/TupleUtil.java
index 7d2a1f2995..619b073b78 100644
--- a/phoenix-core-client/src/main/java/org/apache/phoenix/util/TupleUtil.java
+++ b/phoenix-core-client/src/main/java/org/apache/phoenix/util/TupleUtil.java
@@ -233,7 +233,7 @@ public class TupleUtil {
     public static ResultSet getResultSet(Tuple toProject, String tableName, 
Connection conn)
         throws SQLException {
         try (PhoenixResultSet resultSet = (PhoenixResultSet) 
conn.createStatement()
-            .executeQuery("SELECT * FROM " + tableName)) {
+            .executeQuery("SELECT * FROM \"" + tableName + "\"")) {
             PTable pTable =
                 
resultSet.getStatement().getQueryPlan().getContext().getResolver().getTables()
                     .get(0).getTable();

Reply via email to