yuzelin commented on code in PR #3294:
URL: https://github.com/apache/paimon/pull/3294#discussion_r1590498218
##########
paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/commands/PaimonCommand.scala:
##########
@@ -112,6 +114,14 @@ trait PaimonCommand extends WithFileStoreTable with
ExpressionHelper {
sparkSession: SparkSession): Array[String] = {
import sparkSession.implicits._
+ // only raw convertible can generate input_file_name()
+ for (split <- candidateDataSplits) {
+ if (!split.rawConvertible()) {
+ throw new IllegalArgumentException(
+ "Only compacted table can generate touched files, please use
'COMPACT' procedure.");
Review Comment:
`please use 'COMPACT' procedure` -> `please use 'COMPACT' procedure before
DELETE`
--
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]