Skip to content

Commit

Permalink
[fix](Outfile) optimize the error message of SELECT INTO OUTFILE (#…
Browse files Browse the repository at this point in the history
…45859)

optimize the error message of `SELECT INTO OUTFILE`
  • Loading branch information
BePPPower authored Dec 25, 2024
1 parent 9e50906 commit 8594a67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public void analyze(Analyzer analyzer, List<Expr> resultExprs, List<String> colL
if (brokerDesc != null && isLocalOutput) {
throw new AnalysisException("No need to specify BROKER properties in OUTFILE clause for local file output");
} else if (brokerDesc == null && !isLocalOutput) {
throw new AnalysisException("Must specify BROKER properties or current local file path in OUTFILE clause");
throw new AnalysisException("Please specify BROKER properties or check your local file path.");
}
isAnalyzed = true;

Expand Down

0 comments on commit 8594a67

Please sign in to comment.