yiguolei commented on code in PR #9754:
URL: https://github.com/apache/incubator-doris/pull/9754#discussion_r883244865


##########
fe/fe-core/src/main/java/org/apache/doris/planner/LoadScanNode.java:
##########
@@ -159,7 +160,11 @@ protected void finalizeParams(Map<String, SlotDescriptor> 
slotDescByName,
                 } else {
                     Column column = destSlotDesc.getColumn();
                     if (column.getDefaultValue() != null) {
-                        expr = new 
StringLiteral(destSlotDesc.getColumn().getDefaultValue());
+                        if(column.getType().isDatetime() && 
column.isCurrentTimestamp()) {

Review Comment:
   expr --> functioncallexpr.  



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

Reply via email to