Skip to content

Update C++ tsfile-cli command surface and data workflows - #915

Open
SpriCoder wants to merge 14 commits into
apache:developfrom
SpriCoder:codex-tsfile-cli-requirements-v07
Open

Update C++ tsfile-cli command surface and data workflows#915
SpriCoder wants to merge 14 commits into
apache:developfrom
SpriCoder:codex-tsfile-cli-requirements-v07

Conversation

@SpriCoder

@SpriCoder SpriCoder commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add CLI contract and end-to-end tests for command dispatch, supported formats, argument validation, write/import behavior, export behavior, tag filters, and edge cases
  • align command dispatch, top-level help, command help, version handling, and singleton option validation with the requirement document
  • remove unsupported command surface and narrow regular output formats to table, ndjson, and csv
  • update write syntax to explicit --tag / --field declarations and explicit --input / --stdin input selection
  • harden write failures for existing output targets, non-regular input paths, strict timestamp lexemes, bad data, and atomic output cleanup
  • return schema rows with model, object, column, category, data_type, encoding, and compression
  • align stats and count output contracts with the documented model/object/column fields, table tag grouping, null counts, time ranges, and source fields
  • require explicit scope for multi-object head / cat queries and reject offset with zero limit
  • align machine value serialization for null CSV cells, INT64/TIMESTAMP NDJSON values, and BLOB hex values
  • add single-object and multi-object export support with numbered output files and a manifest
  • refresh the C++ tools README for the updated usage

Tests

  • C++ Spotless check
  • C++ CLI contract and end-to-end tests
  • Full C++ TsFile_Test binary
  • Git whitespace check

Appendix

@SpriCoder SpriCoder changed the title Align C++ tsfile-cli with V0.7 command contract Update C++ tsfile-cli command surface and data workflows Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant