azexcy commented on issue #17912:
URL:
https://github.com/apache/shardingsphere/issues/17912#issuecomment-1165214566
I use openjdk:8 for test, the error log is different. follow this.
```
5:31:34.742 [epollEventLoopGroup-3-7] DEBUG
org.apache.shardingsphere.db.protocol.codec.PacketCodec - Read from client
b6550ffd :
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 50 00 00 00 18 00 73 65 6c 65 63 74 20 76 65 72 |P.....select ver|
|00000010| 73 69 6f 6e 28 29 00 00 00 42 00 00 00 0c 00 00 |sion()...B......|
|00000020| 00 00 00 00 00 00 44 00 00 00 06 50 00 45 00 00 |......D....P.E..|
|00000030| 00 09 00 00 00 00 00 53 00 00 00 04 |.......S.... |
+--------+-------------------------------------------------+----------------+
05:31:34.743 [Connection-31-ThreadExecutor] DEBUG
org.apache.shardingsphere.proxy.frontend.opengauss.command.OpenGaussCommandExecutorFactory
- Execute packet type: PARSE_COMMAND, value:
PostgreSQLAggregatedCommandPacket(packets=[PostgreSQLComParsePacket(payload=org.apache.shardingsphere.db.protocol.postgresql.payload.PostgreSQLPacketPayload@9af783f,
statementId=, sql=select version()),
PostgreSQLComBindPacket(payload=org.apache.shardingsphere.db.protocol.postgresql.payload.PostgreSQLPacketPayload@2272ca21,
portal=, statementId=), PostgreSQLComDescribePacket(type=P, name=),
PostgreSQLComExecutePacket(portal=, maxRows=0), PostgreSQLComSyncPacket()],
containsBatchedStatements=false, firstBindIndex=1, lastExecuteIndex=3)
05:31:34.744 [Connection-31-ThreadExecutor] INFO ShardingSphere-SQL - Logic
SQL: select version()
05:31:34.744 [Connection-31-ThreadExecutor] INFO ShardingSphere-SQL -
SQLStatement: OpenGaussSelectStatement(limit=Optional.empty,
lock=Optional.empty, window=Optional.empty)
05:31:34.744 [epollEventLoopGroup-3-7] DEBUG
org.apache.shardingsphere.db.protocol.codec.PacketCodec - Write to client
b6550ffd :
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 31 00 00 00 04 32 00 00 00 04 6e 00 00 00 04 43 |1....2....n....C|
|00000010| 00 00 00 0d 53 45 4c 45 43 54 20 30 00 5a 00 00 |....SELECT 0.Z..|
|00000020| 00 05 49 |..I |
+--------+-------------------------------------------------+----------------+
```
--
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]