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: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,12 @@ You may want queries, asserts or query metadata to use a specific date column, o
183
183
184
184
Simply pass `--parameter KEY=VALUE` in the CLI and the `KEY` will be replaced with `VALUE` in all queries, query metadata and test assertions. For example, to query June 23rd 2015, you could use `--parameter DATE=2015-06-23`. If the query uses `${DATE}` in the query it will be replaced before execution with `2015-06-23`.
185
185
186
+
### Query Parallelism
187
+
188
+
You may want to run queries in parallel rather than sequentially especially if you have many time-consuming queries.
189
+
190
+
To enable this feature, pass in `--query-parallel-enable true` when launching Validatar. By default, this will run all queries in parallel. If this number needs to be limited, pass in `--query-parallel-max VALUE` where `VALUE` is the max number of queries that should run concurrently.
191
+
186
192
## Execution Engines
187
193
188
194
### Hive
@@ -330,6 +336,17 @@ Option Description
330
336
fully qualified classes to plug in>
331
337
332
338
339
+
Engine Options:
340
+
Option Description
341
+
------ -----------
342
+
--query-parallel-enable <Boolean: Whether or not queries should run in
--query-parallel-max <Integer: Max The max number of queries that will
345
+
query parallelism> run concurrently. If non-positive or
346
+
unspecified, all queries will run at
347
+
once. (default: 0)
348
+
349
+
333
350
Hive engine options:
334
351
Option (* = required) Description
335
352
--------------------- -----------
@@ -488,10 +505,11 @@ Version | Notes
488
505
0.5.4 | Added a flag ```--report-on-failure-only``` to only generate reports if there were failures in tests (including warnOnly) or queries
489
506
0.5.5 | Shaded ```org.objectweb.asm``` to not clash with asm in Hadoop environments
490
507
0.5.6 | Fixed a bug with pretty-printing results with nulls
491
-
0.6.0 | Better reporting (show data with only the assertion columns with the assertion result column, columns now in sorted order, EMail Subject Prefix). Can now write multiple reports per invocation (specify more than one report formatter using --report-format)
508
+
0.6.0 | Better reporting (show data with only the assertion columns with the assertion result column, columns now in sorted order, Email Subject Prefix). Can now write multiple reports per invocation (specify more than one report formatter using --report-format)
492
509
0.6.1 | Added a flag to configure the Email reporter SMTP strategy. Use ```--email-smtp-strategy``` to pass in ```SMTP_PLAIN```, ```SMTP_TLS``` or ```SMTP_SSL```.
493
510
0.6.2 | Bintray EOL. First rerelease of 0.6.1 on Maven Central instead
494
511
0.6.3 | Screwdriver migration. First rerelease of 0.6.1 using Screwdriver instead of Travis.
512
+
0.6.4 | Added support for running queries in parallel
0 commit comments