diff --git a/src/sql/engine/basic/ob_select_into_op.cpp b/src/sql/engine/basic/ob_select_into_op.cpp index e49f4ed61..863c47dfa 100644 --- a/src/sql/engine/basic/ob_select_into_op.cpp +++ b/src/sql/engine/basic/ob_select_into_op.cpp @@ -116,7 +116,7 @@ int ObSelectIntoOp::inner_open() } if (OB_SUCC(ret) - && T_INTO_OUTFILE == into_type + && (T_INTO_OUTFILE == into_type || T_INTO_DUMPFILE == into_type) && IntoFileLocation::SERVER_DISK == file_location_) { ObString file_name = url_; ObString file_path = file_name.split_on(file_name.reverse_find('/'));