Releases: noborus/trdsql
v0.7.6: Fixed error in long line of LTSV
- Fixed error in long line of LTSV.
- Added -onowrap option. Avoid long column wrapping in at/md.
- Added _example/writer. Here is an example of Writer.
v0.7.5: Enhanced support for compressed files
Adds a compressed file type that can run uncompressed(gzip,bz2,zstd,lz4,xz).
Changed to determine compressed file from file signature.
Add an option to compress and output(-oz).
Add option to write output to file (-out).
Guess the output format and compressed file type from the output file name.
Improved usage
Changed usage output to customized instead of flag default.
Improved help messages.
v0.7.4: Add option to quote all for CSV output
Add option for CSV output.
Add option to quote all(-oaq)(resolve #33) .
Add option to specify quote character(-oq).
Add option to set CRLF at the end of line(-ocrlf).
Remove use of encoding/csv, and output CSV in writer.
Output performance was improved.
Improved parsing of function () in WITH clause and FROM clause.
Removed travis.yml and migrated to github actions.
v0.7.3.5: Test prerelease
test prelease
v0.7.3: Added JSONL output format.
Added JSONL output format.
-ojsonl
option added.
Add JSONL output format separately from JSON.
JSONL is a JSON format separated by line breaks.
Output can be output line by line, so output starts quickly.
Also, JSONL output requires less memory than JSON output.
resolve #101.
Docker pull allows images to be downloaded.
You can download it with the following command.
docker pull noborus/trdsql
Fixed generate_series (1,10) error in FROM clause
Added check for table name not in list to replace.
Tables that did not successfully import the file
did not need to be replaced in the first place.
Added test
Added test to cmd/.
And then refactoring was performed to modify the behavior.
Run
has been changed to a method of cmd.Cli.
-h
changed to normal help.
Changed SQL error exit code.
v0.7.2: Add analyze option.
Add -a filename and -A filename options for analysis.
The -a option analyzes the file and prints a list of columns,
sample data, and SQL examples.
The -A option analyzes, but prints only SQL examples.
Added SQL reserved word list. At the time of analysis,
since it is automatically started after reservation,
an example that can be executed as it is will be output.
Replaced "\n" with "\n" in output to tbln format only.
In particular, the raw format could produce unintended output.
Wrap os.Stdin with bufio.NewReader.
There was large data that could be imported successfully in the file
but failed in stdin(when using sqlite3).
Change to use bufio.NewReader to stabilize input from os.Stdin.
(issue #83) Thanks to @jetzerb for this report.
Change TrimLeadingSpace set conditions.
Stop setting TrimLeadingSpace = true when the delimiter is not space.
Setting TrimLeadingSpace to true removes unicode.IsSpace as well as space.
This is not the intended behavior.
(issue #84) Thanks to @jetzerb for this report.
v0.7.1: Fix build failure on windows
Because only Windows failed to build, module was downgraded.
v0.7.0: Fix query table name escaping
Fix query table name escaping (thanks to @jetzerb ).
Enable command option rather than config.
Fixed INSERT order changing when using bulk insert.
Supported escaped file names.
Renamed from escape to quote.
Fixed a comment to a more appropriate one.
Change to embed version with ldflags.
v0.6.3: Minor problem fixed version
Fixed tbln error when using wildcards.
Renamed listTable to TableNames and made it a public function.
v0.6.2: Fixed an issue that causes an error if there is a blank line.
Fixed an issue that causes an error if there is a blank line.
Occurs when using wildcards in tbln files.
Support various types of SliceReader.
Add Dockerfile.