Update C++ tsfile-cli command surface and data workflows - #915
Open
SpriCoder wants to merge 16 commits into
Open
Update C++ tsfile-cli command surface and data workflows#915SpriCoder wants to merge 16 commits into
SpriCoder wants to merge 16 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ls: lists model/object rows for current files; example:tsfile-cli ls -f csv data.tsfileschema: reportsmodel,object,column,category,data_type,encoding,compression; example:tsfile-cli schema -t sensors -f csv data.tsfilemeta: reports file summary fields; example:tsfile-cli meta data.tsfilestats: reports FIELD statistics with counts, null counts, time range, values, and source fields; example:tsfile-cli stats -t sensors -m temperature -f csv data.tsfilecount: reports per-column counts without synthetic summary rows; example:tsfile-cli count -t sensors -f csv data.tsfilesketch: prints the physical file sketch; example:tsfile-cli sketch data.tsfilehead: reads the first rows with offset/limit/filter support; example:tsfile-cli head -t sensors -m temperature -n 20 -f csv data.tsfilecat: streams all matching rows with the same row filters; example:tsfile-cli cat -t sensors --tag-filter site eq north -m temperature -f ndjson data.tsfileexport: exports one object or multiple objects with numbered outputs and a manifest; example:tsfile-cli export -t sensors --type csv -o sensors.csv data.tsfilewrite: imports strict CSV into a new table-model TsFile with explicit--tag/--fielddeclarations; example:printf 'time,site,temperature\n0,north,21.5\n1,north,21.7\n' | tsfile-cli write --table sensors --tag site STRING --field temperature DOUBLE --stdin -o sensors.tsfileTests
TsFile_TestbinaryAppendix