Commit Graph

374 Commits

Author SHA1 Message Date
Neil O'Toole
d3e6f89829
SLQ support for column aliases (#150)
* alias: more early work

* alias: test cases working for sqlite

* alias: SQL builder tests

* alias: func (col expr) aliases now working for SQLite

* linting

* CHANGELOG update

* Docs update

* Docs update

* Rename buildAst() -> buildAST()

* CHANGELOG typo
2023-03-18 22:58:00 -06:00
Neil O'Toole
62f067f633
Chore/upgrade to antlr 4.12.0 (#149)
* Antlr update

* README update

* parser: regenerated with antlr 4.12.0
2023-03-15 20:53:40 -06:00
neilotoole
3d57c7d7e0 README: add splash image 2023-03-15 20:33:45 -06:00
neilotoole
8c6e25a504 Scoop update for sq version v0.24.4 2023-03-15 02:00:11 -06:00
neilotoole
7987a85957 CHANGELOG update 2023-03-15 01:46:52 -06:00
Neil O'Toole
161d6f9ee7
Fix to docs for cmd_sql (#148) 2023-03-15 01:43:48 -06:00
neilotoole
d9474993bb readme: fix link 2023-03-14 23:40:18 -06:00
neilotoole
84c85578ab Scoop update for sq version v0.24.3 2023-03-14 23:20:07 -06:00
Neil O'Toole
7148505a84
CSV: check for mismatch field count vs explicitly specified column names (#147)
* csv: check for mismatch field count vs explicitly specified column names

* CHANGELOG update
2023-03-14 23:04:49 -06:00
neilotoole
fa1677cff6 Scoop update for sq version v0.24.2 2023-03-13 22:02:16 -06:00
neilotoole
e41a6bfc9c CHANGELOG update for v0.24.2 2023-03-13 21:52:58 -06:00
Neil O'Toole
f71b124a1f
Testing for postgres alternate schema 2023-03-13 19:25:12 -06:00
neilotoole
8df15fdcbf Scoop update for sq version v0.24.1 2023-03-11 21:33:54 -07:00
Neil O'Toole
143d2a1101
Bug/no active source (#145)
* Clean up misc text

* config: will repair itself if active source is corrupted

* Clean up error handling code

* CHANGELOG update

* Update config tests to allow invalid active source
2023-03-11 21:21:05 -07:00
neilotoole
b227dd7112 docs updates 2023-03-11 20:25:19 -07:00
neilotoole
6cf4a7cf9a Scoop update for sq version v0.24.0 2023-01-01 06:18:31 +00:00
neilotoole
83d446afdf changelog v0.24.0 2022-12-31 23:04:15 -07:00
Neil O'Toole
82dfd1c703
PIng command json output (#141)
* cmd_ping now respects --json

* ctrl-c doesn't print the cancel message for sq ping

* changelog update
2022-12-31 23:00:07 -07:00
Neil O'Toole
5d799a8820
Bug/windows file slash munge location (#140)
* Munge windows file location

* Windows filepath fix

* More Windows filepath issues

* Main workflow runs on matrix each time
2022-12-31 22:35:33 -07:00
neilotoole
fe61e5efe5 Location code now better handle windows path 2022-12-31 20:57:10 -07:00
Neil O'Toole
ed9aa38a67
Improvements to source commands (#139)
* Expose source.Set.Data() method

* jsonw.writeJSON cleaned up

* sq add now respects --json

* Location strings are subject to more scrutiny

* Ignore .db files in project dir

* sq add is more restrictive about location string

* source.RedactedLocation now uses 'xxxxx' per stdlib url.URL.Redacted()

* Update changelog for v0.23.0

* typos
2022-12-31 20:17:44 -07:00
neilotoole
1293f4a22b Scoop update for sq version v0.22.8 2022-12-30 23:29:08 -07:00
neilotoole
8edd647e2d renamed linux-container job to linux-other 2022-12-30 23:20:40 -07:00
neilotoole
cb7d111f90 Renaming workflow elements 2022-12-30 23:19:25 -07:00
neilotoole
8d652b535b Merge branch 'master' of https://github.com/neilotoole/sq 2022-12-30 23:18:45 -07:00
neilotoole
caf3e6b6e7 Renaming workflow elements 2022-12-30 23:18:40 -07:00
neilotoole
bbe8b2eb5f Scoop update for sq version v0.22.7 2022-12-30 23:11:44 -07:00
neilotoole
992e420c4d Merge branch 'master' of https://github.com/neilotoole/sq 2022-12-30 22:58:21 -07:00
neilotoole
f8de0da237 Workflow now tests install mechanisms 2022-12-30 22:58:08 -07:00
neilotoole
45318455db Scoop update for sq version v0.22.6 2022-12-30 22:57:01 -07:00
neilotoole
8e28297a60 Removed superflous 'scoop help' cmd from Test Install workflow 2022-12-30 22:43:51 -07:00
neilotoole
154dadedb7 Test Install workflow now checks scoop 2022-12-30 22:42:53 -07:00
neilotoole
b3880f5e5a New workflow to verify installation 2022-12-30 21:54:58 -07:00
neilotoole
24d6bd0581 Merge branch 'master' of https://github.com/neilotoole/sq 2022-12-30 21:54:35 -07:00
neilotoole
1f7943b11e New workflow to verify installation 2022-12-30 21:54:30 -07:00
neilotoole
7ac4d2b16f Scoop update for sq version v0.22.5 2022-12-30 21:43:03 -07:00
neilotoole
d931885494 Scoop update for sq version v0.22.4-dev 2022-12-30 21:21:41 -07:00
Neil O'Toole
d0f073b44b
Crashes on fedora, probably due to needing netgo tags (#138) 2022-12-30 21:10:47 -07:00
neilotoole
e37a167d75 Merge branch 'master' of https://github.com/neilotoole/sq 2022-12-30 20:20:59 -07:00
neilotoole
b911df7267 FIX: Add 'exit' statement to install.sh archlinux steps 2022-12-30 20:20:54 -07:00
neilotoole
3017b0ddb2 Scoop update for sq version v0.21.3 2022-12-30 11:11:53 -07:00
neilotoole
cca980d8e0 Adjustment to sq version output 2022-12-30 10:59:52 -07:00
neilotoole
23000ef0ee Adjustment to sq version output 2022-12-30 10:59:27 -07:00
neilotoole
ee9e5de82e Scoop update for sq version v0.21.2 2022-12-30 10:49:12 -07:00
neilotoole
9e0e93f066 changelog v0.21.2 2022-12-30 10:40:19 -07:00
neilotoole
3672f28f72 Linting 2022-12-30 10:38:49 -07:00
neilotoole
433d83d5b2 linting 2022-12-30 10:28:01 -07:00
neilotoole
19aa8c76ff More error checking in cmd_version 2022-12-30 10:25:45 -07:00
Neil O'Toole
66a8c39844
Improvements to 'sq version' command (#137) 2022-12-30 10:10:56 -07:00
neilotoole
13cfc0e1c8 Scoop update for sq version v0.20.0 2022-12-29 19:14:35 -07:00