mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-20 06:31:32 +03:00
3180334c0c
* refactor: partially moved over driver.Tuning params to options * All knobs moved to options * sq config edit: now has comments for options * Major work complete on config/options overhaul * Major work complete on config/options overhaul * Updated help text for 'sq version'
157 lines
4.3 KiB
YAML
157 lines
4.3 KiB
YAML
config.version: v0.34.0
|
|
options:
|
|
ping.timeout: 10s
|
|
shell-completion.timeout: 1s
|
|
format: text
|
|
header: true
|
|
collection:
|
|
active.source: '@sl1'
|
|
scratch: ""
|
|
sources:
|
|
- handle: '@sl1'
|
|
driver: sqlite3
|
|
location: sqlite3://${SQ_ROOT}/drivers/sqlite3/testdata/sqtest.db
|
|
|
|
- handle: '@xl1'
|
|
driver: xlsx
|
|
location: ${SQ_ROOT}/drivers/xlsx/testdata/test_header.xlsx
|
|
options:
|
|
ingest.header: false
|
|
|
|
- handle: '@csv1'
|
|
driver: csv
|
|
location: ${SQ_ROOT}/drivers/csv/testdata/person_comma_header.csv
|
|
options:
|
|
ingest.header: true
|
|
|
|
- handle: '@ms1'
|
|
driver: sqlserver
|
|
location: sqlserver://sq:p_ssW0rd@localhost?database=sqtest
|
|
|
|
- handle: '@my1'
|
|
driver: mysql
|
|
location: mysql://sq:p_ssW0rd@localhost:3306/sqtest
|
|
|
|
- handle: '@pg1'
|
|
driver: postgres
|
|
location: postgres://sq:p_ssW0rd@localhost/sqtest?sslmode=disable
|
|
|
|
- handle: '@ms_sqtest'
|
|
driver: sqlserver
|
|
location: sqlserver://sq:p_ssW0rd@localhost?database=sqtest
|
|
|
|
- handle: '@ms_sqtype'
|
|
driver: sqlserver
|
|
location: sqlserver://sq:p_ssW0rd@localhost?database=sqtype
|
|
|
|
- handle: '@pg_sqtest'
|
|
driver: postgres
|
|
location: postgres://sq:p_ssW0rd@localhost/sqtest?sslmode=disable
|
|
|
|
- handle: '@pg_sqtype'
|
|
driver: postgres
|
|
location: postgres://sq:p_ssW0rd@localhost/sqtype?sslmode=disable
|
|
|
|
- handle: '@sl_sqtest'
|
|
driver: sqlite3
|
|
location: sqlite3://${SQ_ROOT}/drivers/sqlite3/testdata/sqtest.db
|
|
|
|
- handle: '@sl_sqtype'
|
|
driver: sqlite3
|
|
location: sqlite3://${SQ_ROOT}/drivers/sqlite3/testdata/sqtype.db
|
|
|
|
- handle: '@my_sqtest'
|
|
driver: mysql
|
|
location: mysql://sq:p_ssW0rd@localhost:3306/sqtest
|
|
|
|
- handle: '@my_sqtype'
|
|
driver: mysql
|
|
location: mysql://sq:p_ssW0rd@localhost:3306/sqtype
|
|
|
|
- handle: '@xl_header'
|
|
driver: xlsx
|
|
location: ${SQ_ROOT}/drivers/xlsx/testdata/test_header.xlsx
|
|
options:
|
|
ingest.header: true
|
|
|
|
- handle: '@xl_noheader'
|
|
driver: xlsx
|
|
location: ${SQ_ROOT}/drivers/xlsx/testdata/test_noheader.xlsx
|
|
|
|
- handle: '@xl_remote'
|
|
driver: xlsx
|
|
location: http://neilotoole.io/sq/test/test1.xlsx
|
|
|
|
- handle: '@csv_person_comma_header'
|
|
driver: csv
|
|
location: ${SQ_ROOT}/drivers/csv/testdata/person_comma_header.csv
|
|
options:
|
|
ingest.header: true
|
|
|
|
- handle: '@csv_person_comma_noheader'
|
|
driver: csv
|
|
location: ${SQ_ROOT}/drivers/csv/testdata/person_comma_noheader.csv
|
|
|
|
- handle: '@tsv_person_header'
|
|
driver: tsv
|
|
location: ${SQ_ROOT}/drivers/csv/testdata/person_header.tsv
|
|
|
|
- handle: '@tsv_person_noheader'
|
|
driver: tsv
|
|
location: ${SQ_ROOT}/drivers/csv/testdata/person_noheader.tsv
|
|
|
|
- handle: '@tsv_person_noheader_cols'
|
|
driver: tsv
|
|
location: ${SQ_ROOT}/drivers/csv/testdata/person_noheader.tsv
|
|
|
|
- handle: '@rss_basic'
|
|
driver: rss
|
|
location: ${SQ_ROOT}/libsq/driver/userdriver/testdata/basic.rss.xml
|
|
|
|
- handle: '@nytimes'
|
|
driver: rss
|
|
location: http://www.nytimes.com/services/xml/rss/nyt/World.xml
|
|
|
|
- handle: '@myfriends'
|
|
driver: ppl
|
|
location: ${SQ_ROOT}/libsq/driver/userdriver/testdata/people.xml
|
|
|
|
- handle: '@peeps'
|
|
driver: ppl
|
|
location: ${SQ_ROOT}/libsq/driver/userdriver/testdata/people2.xml
|
|
|
|
- handle: '@ds_invalid_creds'
|
|
driver: mysql
|
|
location: mysql://root:badpass@localhost:3306/sqtest
|
|
|
|
- handle: '@ds_invalid_port'
|
|
driver: mysql
|
|
location: mysql://root:root@localhost:33661/sqtest
|
|
|
|
- handle: '@ds_invalid_host'
|
|
driver: mysql
|
|
location: mysql://root:root@news.google.com:80/sqtest
|
|
|
|
- handle: '@ds_invalid_db'
|
|
driver: mysql
|
|
location: mysql://sq:sq@localhost:3306/not_a_db
|
|
|
|
- handle: '@csvbig'
|
|
driver: csv
|
|
location: ${SQ_ROOT}/drivers/csv/testdata/person_comma_header_big.csv
|
|
options:
|
|
ingest.header: true
|
|
|
|
- handle: '@sl_sakila'
|
|
driver: sqlite3
|
|
location: sqlite3://${SQ_ROOT}/examples/sakila/sqlite-sakila-db/sakila.db
|
|
|
|
- handle: '@my_sakila'
|
|
driver: mysql
|
|
location: mysql://root:sakila@localhost:33067/sakila
|
|
|
|
- handle: '@pg_sakila'
|
|
driver: postgres
|
|
location: postgres://sq:p_ssW0rd@localhost:54321/sakila?sslmode=disable
|
|
|