TeslaCN commented on code in PR #25942:
URL: https://github.com/apache/shardingsphere/pull/25942#discussion_r1211079609
##########
proxy/backend/core/src/main/java/org/apache/shardingsphere/proxy/backend/response/data/QueryResponseCell.java:
##########
@@ -18,16 +18,28 @@
package org.apache.shardingsphere.proxy.backend.response.data;
import lombok.Getter;
-import lombok.RequiredArgsConstructor;
+
+import java.util.Optional;
/**
* Query response cell.
*/
-@RequiredArgsConstructor
@Getter
public final class QueryResponseCell {
private final int jdbcType;
private final Object data;
+
+ private final Optional<String> columnTypeName;
Review Comment:
```suggestion
private final String columnTypeName;
```
Add a method
```java
public Optional<String> getColumnTypeName() { return
Optional.ofNullable(columnTypeName); }
```
--
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]