JNSimba commented on code in PR #56175:
URL: https://github.com/apache/doris/pull/56175#discussion_r2366929399
##########
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java:
##########
@@ -4761,7 +4761,7 @@ public void readFromJson(String json) throws IOException {
field.set(this, root.get(attr.name()));
break;
case "double":
- field.set(this, root.get(attr.name()));
+ field.set(this,
Double.valueOf(root.get(attr.name()).toString()));
Review Comment:
root.get(attr.name()) This is a double string. If it is not forced to be
converted, an error will be reported. The int type has been forced to be
converted before.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]