morningman commented on code in PR #35489:
URL: https://github.com/apache/doris/pull/35489#discussion_r1619884641
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java:
##########
@@ -1304,7 +1304,9 @@ public void createTableAsSelect(CreateTableAsSelectStmt
stmt) throws DdlExceptio
}
if (resultExpr.getSrcSlotRef() != null
&& resultExpr.getSrcSlotRef().getTable() != null
- &&
!resultExpr.getSrcSlotRef().getTable().isManagedTable()) {
+ &&
!resultExpr.getSrcSlotRef().getTable().isManagedTable()
+ &&
!createTableStmt.getPartitionDesc().getPartitionColNames().contains(
Review Comment:
getPartitionColNames() may return null
--
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]