Skip to content

Commit

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

Cherry-picked from #45859

Co-authored-by: Tiewei Fang <[email protected]>
  • Loading branch information
github-actions[bot] and BePPPower authored Dec 25, 2024
1 parent 3374363 commit 7a86c5e
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 7a86c5e

Please sign in to comment.