Neil O'Toole
ebb88b3a44
CSV empty string now treated as NULL ( #190 )
2023-04-09 19:29:13 -06:00
Neil O'Toole
ad23d5c116
Auto-detect CSV headers ( #188 )
...
* wip: initial header detection
* wip: refactored csv driver
* wip: Fixes to kind.Detector
* typo
* Refactor pkg csv files
* Update to changelog
* workflow: now running codacy and codeql on cron, not on push/pr
2023-04-09 08:44:27 -06:00
Neil O'Toole
3f6157c4c4
Change logging library to slog ( #175 )
...
- Switch to slog logger.
2023-04-02 13:49:45 -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
Neil O'Toole
fab365f43c
gofumpt on files ( #122 )
...
* gofumpt on files
* more gofumpt
2022-12-18 01:35:59 -07:00
Neil O'Toole
08dfa10325
Errors linting ( #117 )
...
* errors linting
* errors linting
* formatting
2022-12-17 21:31:06 -07:00
Neil O'Toole
540adfac58
Lint long lines ( #115 )
...
* lint config now sorts results
* linted long lines
* linted long lines
2022-12-17 19:43:53 -07:00
Neil O'Toole
2831211ae9
Yet more linting ( #114 )
...
* wip: bunch o' linting
* bunch more linting
2022-12-17 17:51:33 -07:00
Neil O'Toole
e674cdc724
change 'interface{}' to 'any' ( #108 )
2022-12-16 16:34:33 -07:00
Neil O'Toole
a419e0b693
Misc cleanup, goimports, updates ( #107 )
...
* debugging
* generic retry functionality; some additions to stringz.go
* fiddling with magefile_sakila
* added test lock function testh.Lock
* bunch of linting, goimports, what not
2022-12-16 15:54:09 -07:00
Neil O'Toole
5aebc04356
Fixed issues with files and databases not being closed correctly ( #73 )
...
* fiddling with scratch database close order
* files debugging
* files debugging2
* files debugging3
* files debugging 4
* files debugging 5
* didn't close the ReadCloser in csv import
* more closing cleanup
2020-12-30 11:57:58 -07:00
Neil O'Toole
0f3bc26f52
JSON driver: initial jsona driver ( #69 )
...
* jsona driver appears to be mostly working
* jsona verified as working
* minor tidy
2020-08-23 20:32:59 -06:00
Neil O'Toole
1818d50546
moved pkg libsq/sqlmodel to libsq/core/sqlmodel ( #68 )
2020-08-23 13:00:13 -06:00
Neil O'Toole
58ccfc9ded
Json driver; refactoring of core packages ( #66 )
...
* Type Detector refactor
* json driver impl; refactoring of source.Files reader et al
* working on kind detector
* significant switcheroo of packages
* partway throught refactoring Kind
* major package switcheroo for Kind
2020-08-23 04:42:15 -06:00
Neil O'Toole
1ceb50e795
SQL batch insert ( #58 )
...
* initial refactoring for the numRows param
* work on driver.NewBatchInsert
* work on NewBatchInsert
* batch insert seems to work
* switched testh.Insert to use BatchInsert
* doc cleanup
* batch insert for dbwriter and csv
* removed unneeded NumRows from driver.StmtExecer
* minor tidyup
2020-08-12 12:24:01 -06:00