File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,20 @@ Similar tools include Tonic.ai's platform and [condenser](https://github.com/Ton
12
12
This is meant to be a simple CLI tool that overcomes many of the difficulties in
13
13
using ` condenser ` .
14
14
15
+ ## Installation
16
+
17
+ You can use subsetter by installing it through pip:
18
+
19
+ ``` sh
20
+ pip install subsetter
21
+ ```
22
+
23
+ Or by using the published ` msg555/subsetter ` image:
24
+
25
+ ``` sh
26
+ docker run --rm -v " ./subsetter.yaml:/tmp/subsetter.yaml" msg555/subsetter -c /tmp/subsetter.yaml subset
27
+ ```
28
+
15
29
## Limitations
16
30
17
31
The subsetter tool takes an approach of "one table, one query". This means that
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ source:
13
13
- SET @@session.wait_timeout=28800
14
14
- SET @@session.innodb_lock_wait_timeout=3600
15
15
16
+ # Set transaction isolation level. Defaults to 'READ COMMITTED' (SERIALIZABLE
17
+ # for sqlite).
18
+ isolation_level : " READ COMMITTED"
19
+
16
20
# For engines where it applies specify database name to connect to as well.
17
21
# database: my_dbname # deafults to SUBSET_SOURCE_DATABASE
18
22
You can’t perform that action at this time.
0 commit comments