Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: possible out of memory error #5413

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public class JdbcDataflowJobExecutionDao implements DataflowJobExecutionDao {
*/
private static final String SELECT_STEP_EXECUTION_IDS =
"SELECT SEC.STEP_EXECUTION_ID AS STEP_EXECUTION_ID " +
"FROM %PREFIX%STEP_EXECUTION_CONTEXT SEC " +
"JOIN %PREFIX%STEP_EXECUTION SE ON SE.STEP_EXECUTION_ID = SEC.STEP_EXECUTION_ID " +
"WHERE SE.JOB_EXECUTION_ID in (:jobExecutionIds)";
"FROM %PREFIX%STEP_EXECUTION_CONTEXT SEC, %PREFIX%STEP_EXECUTION SE " +
"WHERE SE.JOB_EXECUTION_ID in (:jobExecutionIds) " +
"AND SE.STEP_EXECUTION_ID = SEC.STEP_EXECUTION_ID";

/**
* SQL statements for removing the Step Execution Context.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ public class JdbcDataflowTaskExecutionMetadataDao implements DataflowTaskExecuti
"TASK_EXECUTION_MANIFEST) VALUES (:id, :taskExecutionId, :taskExecutionManifest)";

private static final String FIND_MANIFEST_BY_TASK_EXECUTION_ID = "SELECT M.TASK_EXECUTION_MANIFEST AS TASK_EXECUTION_MANIFEST " +
"FROM %PREFIX%EXECUTION_METADATA M INNER JOIN " +
"%PREFIX%EXECUTION E ON M.TASK_EXECUTION_ID = E.TASK_EXECUTION_ID " +
"WHERE E.TASK_EXECUTION_ID = :taskExecutionId";
"FROM %PREFIX%EXECUTION_METADATA M, %PREFIX%EXECUTION E " +
"WHERE M.TASK_EXECUTION_ID = E.TASK_EXECUTION_ID " +
"AND E.TASK_EXECUTION_ID = :taskExecutionId";

private static final String DELETE_MANIFEST_BY_TASK_EXECUTION_IDS = "DELETE FROM %PREFIX%EXECUTION_METADATA WHERE TASK_EXECUTION_ID IN (:taskExecutionIds)";

Expand Down