Skip to content

Commit

Permalink
fix compile problem
Browse files Browse the repository at this point in the history
  • Loading branch information
LiBinfeng-01 committed Jan 22, 2025
1 parent da009e1 commit a783a59
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package org.apache.doris.nereids.parser;

import jdk.internal.org.jline.reader.Parser;
import org.apache.doris.alter.QuotaType;
import org.apache.doris.analysis.ArithmeticExpr.Operator;
import org.apache.doris.analysis.BrokerDesc;
Expand Down Expand Up @@ -865,7 +864,7 @@ public LogicalPlan visitCreateScheduledJob(DorisParser.CreateScheduledJobContext
return new CreateJobCommand(createJobInfo);
}

private void checkJobNameKey(String key, String keyFormat, Parser.ParseContext parseContext) {
private void checkJobNameKey(String key, String keyFormat, DorisParser.SupportedJobStatementContext parseContext) {
if (key.isEmpty() || !key.equalsIgnoreCase(keyFormat)) {
throw new ParseException(keyFormat + " should be: '" + keyFormat + "'", parseContext);
}
Expand Down

0 comments on commit a783a59

Please sign in to comment.