TeslaCN opened a new issue #10702:
URL: https://github.com/apache/shardingsphere/issues/10702


   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   master
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   Proxy
   ### Expected behavior
   
   ### Actual behavior
   
   Request
   ```
   PostgreSQL
       Type: Parse
       Length: 170
       Statement: 
       Query: SELECT c_discount, c_last, c_credit, w_tax FROM bmsql_customer 
JOIN bmsql_warehouse ON (w_id = c_w_id) WHERE c_w_id = $1 AND c_d_id = $2 AND 
c_id = $3
       Parameters: 3
           Type OID: 23
           Type OID: 23
           Type OID: 23
   PostgreSQL
       Type: Bind
       Length: 42
       Portal: 
       Statement: 
       Parameter formats: 3
           Format: Binary (1)
           Format: Binary (1)
           Format: Binary (1)
       Parameter values: 3
           Column length: 4
           Data: 00000001
           Column length: 4
           Data: 00000003
           Column length: 4
           Data: 00000778
       Result formats: 0
   PostgreSQL
       Type: Describe
       Length: 6
       Portal: 
   PostgreSQL
       Type: Execute
       Length: 9
       Portal: 
       Returns: all rows
   PostgreSQL
       Type: Sync
       Length: 4
   ```
   
   Response
   ```
   PostgreSQL
       Type: Parse completion
       Length: 4
   PostgreSQL
       Type: Bind completion
       Length: 4
   PostgreSQL
       Type: Data row
       Length: 47
       Field count: 4
           Column length: 6
           Data: 302e32373532
           Column length: 11
           Data: 45534550524943414c4c59
           Column length: 2
           Data: 4743
           Column length: 6
           Data: 302e31323038
   PostgreSQL
       Type: Ready for query
       Length: 5
       Status: Idle (73)
   ```
   
   RowDescription is missing, which causes exception in client.
   ```
   Exception in thread "main" org.postgresql.util.PSQLException: No results 
were returned by the query.
        at 
org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:107)
        at icu.wwj.FederatedSQL.main(FederatedSQL.java:18)
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to