You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: dqops/src/integration-test/java/com/dqops/postgresql/checks/comparison/PostgresqlTableComparisonIntegrationTests.java
@@ -119,6 +120,10 @@ public CheckRunCliCommand(TerminalFactory terminalFactory,
119
120
@CommandLine.Option(names = {"-d", "--dummy"}, description = "Runs data quality check in a dummy mode, sensors are not executed on the target database, but the rest of the process is performed", defaultValue = "false")
120
121
privatebooleandummyRun;
121
122
123
+
124
+
@CommandLine.Option(names = {"-tr", "--target"}, description = "Configures the data quality execution mode. The default option is to run both the sensor to collect metrics, and validate the results with data quality rules. Alternatively, it is possible to only run the sensors to collect metrics, or only run rules on existing data.", defaultValue = "sensors_and_rules")
@CommandLine.Option(names = {"-t", "--time-limit"}, description = "Optional execution time limit. DQOps will run for the given duration and gracefully shut down. " +
92
91
"Supported values are in the following format: 300s (300 seconds), 10m (10 minutes), 2h (run for up to 2 hours) or just a number that is the time limit in seconds.")
Copy file name to clipboardexpand all lines: dqops/src/main/java/com/dqops/execution/checks/CheckExecutionService.java
+4
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ public interface CheckExecutionService {
37
37
* @param collectErrorSamples Collect error samples for failed checks. Can disable or enable sample collection independent of other parameters.
38
38
* @param progressListener Progress listener that receives progress calls.
39
39
* @param dummySensorExecution When true, the sensor is not executed and dummy results are returned. Dummy run will report progress and show a rendered template, but will not touch the target system.
40
+
* @param executionTarget Check execution mode (sensors, rules, or both).
40
41
* @param startChildJobsPerTable True - starts parallel jobs per table, false - runs all checks without starting additional jobs.
* @param collectErrorSamples Collect error samples for failed checks.
83
85
* @param progressListener Progress listener that receives progress calls.
84
86
* @param dummySensorExecution When true, the sensor is not executed and dummy results are returned. Dummy run will report progress and show a rendered template, but will not touch the target system.
87
+
* @param executionTarget Check execution mode (sensors, rules, or both).
* @return Check summary table with the count of alerts, checks and rules for each table, but containing only one row for the target table. The result may be empty if the table was not found.
Copy file name to clipboardexpand all lines: dqops/src/main/java/com/dqops/execution/checks/CheckExecutionServiceImpl.java
+8-2
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,7 @@ public CheckExecutionServiceImpl(HierarchyNodeTreeSearcher hierarchyNodeTreeSear
77
77
* @param collectErrorSamples Collect error samples for failed checks. Can disable or enable sample collection independent of other parameters.
78
78
* @param progressListener Progress listener that receives progress calls.
79
79
* @param dummySensorExecution When true, the sensor is not executed and dummy results are returned. Dummy run will report progress and show a rendered template, but will not touch the target system.
80
+
* @param executionTarget Check execution mode (sensors, rules, or both).
80
81
* @param startChildJobsPerTable True - starts parallel jobs per table, false - runs all checks without starting additional jobs.
81
82
* @param parentJobId Parent job id for the parent job.
@@ -206,6 +210,7 @@ public CheckExecutionSummary executeChecksForSchedule(ExecutionContext execution
206
210
* @param collectErrorSamples Collect error samples for failed checks.
207
211
* @param progressListener Progress listener that receives progress calls.
208
212
* @param dummySensorExecution When true, the sensor is not executed and dummy results are returned. Dummy run will report progress and show a rendered template, but will not touch the target system.
213
+
* @param executionTarget Check execution mode (sensors, rules, or both).
* @return Check summary table with the count of alerts, checks and rules for each table, but containing only one row for the target table. The result may be empty if the table was not found.
211
216
*/
@@ -218,6 +223,7 @@ public CheckExecutionSummary executeSelectedChecksOnTable(ExecutionContext execu
0 commit comments