umustafi commented on code in PR #3999:
URL: https://github.com/apache/gobblin/pull/3999#discussion_r1683439661


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/MysqlDagActionStore.java:
##########
@@ -49,26 +48,22 @@ public class MysqlDagActionStore implements DagActionStore {
   protected final DataSource dataSource;
   private final DBStatementExecutor dbStatementExecutor;
   private final String tableName;
-  private final long retentionPeriodSeconds;
-  private String thisTableRetentionStatement;
   private static final String EXISTS_STATEMENT = "SELECT EXISTS(SELECT * FROM 
%s WHERE flow_group = ? AND flow_name = ? AND flow_execution_id = ? AND 
job_name = ? AND dag_action = ?)";
 
   protected static final String INSERT_STATEMENT = "INSERT INTO %s 
(flow_group, flow_name, flow_execution_id, job_name, dag_action) "
       + "VALUES (?, ?, ?, ?, ?)";
   private static final String DELETE_STATEMENT = "DELETE FROM %s WHERE 
flow_group = ? AND flow_name =? AND flow_execution_id = ? AND job_name = ? AND 
dag_action = ?";
-  private static final String GET_STATEMENT = "SELECT flow_group, flow_name, 
flow_execution_id, job_name, dag_action FROM %s WHERE flow_group = ? AND 
flow_name =? AND flow_execution_id = ? AND job_name = ? AND dag_action = ?";

Review Comment:
   is this never used



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to