Skip to content

Commit 10417ac

Browse files
committed
feat: select into null exception
1 parent fad76a8 commit 10417ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/openmldb-batch/src/main/scala/com/_4paradigm/openmldb/batch/nodes/SelectIntoPlan.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ object SelectIntoPlan {
3737
logger.info("select into offline storage: format[{}], options[{}], write mode[{}], out path {}", format, options,
3838
mode, outPath)
3939
if (input.getDf().isEmpty) {
40-
logger.info("select empty, skip save")
40+
throw new Exception("select empty, skip save")
4141
} else {
4242
input.getDf().write.format(format).options(options).mode(mode).save(outPath)
4343
}

0 commit comments

Comments
 (0)