@@ -10,9 +10,9 @@ Breaking changes are annotated with ☢️, and alpha/beta features with 🐥.
10
10
## Upcoming
11
11
12
12
This is a significant release, focused on improving i/o, responsiveness,
13
- and performance. The headline features are caching of ingested data for
14
- document sources such as CSV or Excel, and download caching for remote
15
- document sources.
13
+ and performance. The headline features are [ caching] ( https://sq.io/docs/source#cache )
14
+ of [ ingested ] ( https://sq.io/docs/source#ingest ) data for [ document sources ] ( https://sq.io/docs/source#document-source )
15
+ such as CSV or Excel, and [ download ] ( https://sq.io/docs/source#download ) caching for remote document sources.
16
16
17
17
### Added
18
18
@@ -21,13 +21,16 @@ document sources.
21
21
by the new config options [ ` progress ` ] ( https://sq.io/docs/config#progress )
22
22
and [ ` progress.delay ` ] ( https://sq.io/docs/config#progressdelay ) . You can also use
23
23
the ` --no-progress ` flag to disable the progress bar.
24
- - Ingested [ document sources] ( https://sq.io/docs/concepts#document-source ) (such as
24
+ - Note: the progress bar is rendered
25
+ on ` stderr ` and is always zapped from the terminal when command output begins. It won't corrupt the output.
26
+ - Ingested [ document sources] ( https://sq.io/docs/source#document-source ) (such as
25
27
[ CSV] ( https://sq.io/docs/drivers/csv ) or [ Excel] ( https://sq.io/docs/drivers/xlsx ) )
26
- now make use of an ingest cache DB. Previously, ingestion of document source data occurred
27
- on each ` sq ` command. It is now a one-time cost; subsequent use of the document source utilizes
28
- the cache DB. If the source document changes, the ingest cache DB is invalidated and
28
+ now make use of an [ ingest] ( https://sq.io/docs/source#ingest ) cache DB. Previously, ingestion
29
+ of document source data occurred on each ` sq ` command. It is now a one-time cost; subsequent
30
+ use of the document source utilizes
31
+ the cache DB. Until, that is, the source document changes: then the ingest cache DB is invalidated and
29
32
ingested again. This is a significantly improved experience for large document sources.
30
- - There's several new commands to interact with the cache.
33
+ - There are several new commands to interact with the cache (although you shouldn't need to):
31
34
- [ ` sq cache enable ` ] ( https://sq.io/docs/cmd/cache_enable ) and
32
35
[ ` sq cache disable ` ] ( https://sq.io/docs/cmd/cache_disable ) control cache usage.
33
36
You can also instead use the new [ ` ingest.cache ` ] ( https://sq.io/docs/config#ingestcache )
@@ -36,11 +39,11 @@ document sources.
36
39
- [ ` sq cache location ` ] ( https://sq.io/docs/cmd/cache_location ) prints the cache location on disk.
37
40
- [ ` sq cache stat ` ] ( https://sq.io/docs/cmd/cache_stat ) shows stats about the cache.
38
41
- [ ` sq cache tree ` ] ( https://sq.io/docs/cmd/cache_location ) shows a tree view of the cache.
39
- - Downloading of remote document sources (e.g. a CSV file at
42
+ - The [ download ] ( https://sq.io/docs/source#download ) mechanism for remote document sources (e.g. a CSV file at
40
43
[ ` https://sq.io/testdata/actor.csv ` ] ( https://sq.io/testdata/actor.csv ) ) has been completely
41
44
overhauled. Previously, ` sq ` would re-download the remote file on every command. Now, the
42
- remote file is downloaded and cached locally. Subsequent commands check for staleness of
43
- the cached download, and re-download if necessary.
45
+ remote file is downloaded and [ cached] ( https://sq.io/docs/source#cache ) locally.
46
+ Subsequent ` sq ` invocations check for staleness of the cached download, and re-download if necessary.
44
47
- As part of the download revamp, new config options have been introduced:
45
48
- [ ` http.request.timeout ` ] ( https://sq.io/docs/config#httprequesttimeout ) is the timeout for the initial response from the server, and
46
49
[ ` http.response.timeout ` ] ( https://sq.io/docs/config#httpresponsetimeout ) is the timeout for reading the entire response body. We separate
0 commit comments