[fix](multi-catalog)fix hive partition insert regression case (#35846)
from #35821
This commit is contained in:
@ -105,6 +105,9 @@ public class UnboundTableSinkCreator {
|
||||
isPartialUpdate, dmlCommandType, Optional.empty(),
|
||||
Optional.empty(), plan);
|
||||
} else if (curCatalog instanceof HMSExternalCatalog && !isAutoDetectPartition) {
|
||||
if (!partitions.isEmpty()) {
|
||||
throw new AnalysisException("Not support insert with partition spec in hive catalog.");
|
||||
}
|
||||
return new UnboundHiveTableSink<>(nameParts, colNames, hints, partitions,
|
||||
dmlCommandType, Optional.empty(), Optional.empty(), plan);
|
||||
} else if (curCatalog instanceof IcebergExternalCatalog && !isAutoDetectPartition) {
|
||||
|
||||
Reference in New Issue
Block a user