peilinqian opened a new issue, #19987: URL: https://github.com/apache/shardingsphere/issues/19987
## Bug Report **For English only**, other languages will not accept. Before report a bug, make sure you have: - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues). - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview). Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will **close it**. Please answer these questions before submitting your issue. Thanks! ### Which version of ShardingSphere did you use? we find java version: java8, full_version=1.8.0_282 ShardingSphere-5.1.3-SNAPSHOT Commit ID: dirty-9dd0d3990c849d50c17c6dc7c92ec2d4ce0ad7e5 Commit Message: Implements openGauss version function by calcite (#19327) Branch: 9dd0d3990c849d50c17c6dc7c92ec2d4ce0ad7e5 Build time: 2022-08-04T19:57:18+0800 ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? ShardingSphere-JDBC ### Expected behavior ResultSet.getRow() returns the row number of the query result ### Actual behavior ResultSet.getRow() returns exception ``` Exception in thread "main" java.sql.SQLFeatureNotSupportedException: getRow at org.apache.shardingsphere.driver.jdbc.unsupported.AbstractUnsupportedOperationResultSet.getRow(AbstractUnsupportedOperationResultSet.java:90) at com.feature.traffic.mydriver.main(mydriver.java:19) ``` ### Reason analyze (If you can) ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. ``` import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; public class mydriver { public static void main(String[] args) throws Exception { Class.forName("org.apache.shardingsphere.driver.ShardingSphereDriver"); String jdbcUrl = "jdbc:shardingsphere:classpath:mode-sharding-databases-tables.yaml"; String sql = "SELECT o.* FROM t_order o WHERE o.user_id=? "; try (Connection conn = DriverManager.getConnection(jdbcUrl); PreparedStatement ps = conn.prepareStatement(sql)) { ps.setInt(1, 1); try (ResultSet rs = ps.executeQuery()) { while (rs.next()) { System.out.println(rs.getRow());//exception System.out.println(rs.getString(1)); System.out.println(rs.getString(2)); System.out.println(rs.getString(3)); System.out.println(rs.getString(4)); } } } } } ``` ### Example codes for reproduce this issue (such as a github link). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
