Skip to content

Commit

Permalink
fix compile and fe ut
Browse files Browse the repository at this point in the history
  • Loading branch information
LiBinfeng-01 committed Nov 18, 2024
1 parent 9d4e14f commit e62b863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public CreateRoutineLoadCommand(CreateRoutineLoadInfo createRoutineLoadInfo) {
@Override
public void run(ConnectContext ctx, StmtExecutor executor) throws Exception {
createRoutineLoadInfo.validate(ctx);
CreateRoutineLoadStmt createRoutineLoadStmt = createRoutineLoadInfo.translateToLegacyStmt(ctx);
CreateRoutineLoadStmt createRoutineLoadStmt = createRoutineLoadInfo.(ctx);
Env.getCurrentEnv().getRoutineLoadManager().createRoutineLoadJob(createRoutineLoadStmt);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public void testAnalyzeForNereids(@Injectable Analyzer analyzer,
}
};
createRoutineLoadInfo.validate(analyzer.getContext());
CreateRoutineLoadStmt createRoutineLoadStmtNereids = createRoutineLoadInfo.translateToLegacyStmt();
CreateRoutineLoadStmt createRoutineLoadStmtNereids = createRoutineLoadInfo.translateToLegacyStmt(ctx);

CreateRoutineLoadStmt createRoutineLoadStmtOrigin = new CreateRoutineLoadStmt(labelName, tableNameString,
loadPropertyList, properties,
Expand Down

0 comments on commit e62b863

Please sign in to comment.