-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli/zip: emit SQL table data using TSV by default #107474
Conversation
It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR? 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
i'll wait for CI to tell me which tests need updating. |
2068261
to
6a805f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @knz)
pkg/cli/testdata/zip/testzip_external_process_virtualization
line 155 at r1 (raw file):
[node ?] ? log files found [node 1] [log file: ... [node 1] [log file: ...
nit: Just curious - what about this change impacted the test outputs such that we have these extra lines?
This is a partial revert of 35738d4. It changes the default value of the `--format` flag back from JSON to TSV. Release note (backward-incompatible change): THIS RELEASE NOTE CANCELS THE CORRESPONDING PREVIOUS BACKWARD-INCOMPATIBLE CHANGE. New behavior, compatible with previous versions of CockroachDB: the command `cockroach debug zip` stores data retrieved from SQL tables in the remote cluster using the TSV format by default. Release note (cli change): The default value of the `--format` parameter to `cockroach debug zip` is `tsv`, like other CLI commands that can extract SQL data.
6a805f6
to
38cf825
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @abarganier)
pkg/cli/testdata/zip/testzip_external_process_virtualization
line 155 at r1 (raw file):
Previously, abarganier (Alex Barganier) wrote…
nit: Just curious - what about this change impacted the test outputs such that we have these extra lines?
This was actually some extra non-determinism we had there already (and thus possible source of flakes).
Fixed.
bors r=abarganier |
Build succeeded: |
Fixes #107473.
Epic: CRDB-28893
This is a partial revert of 35738d4.
It changes the default value of the
--format
flag back from JSON to TSV.Release note (backward-incompatible change):
THIS RELEASE NOTE CANCELS THE CORRESPONDING PREVIOUS BACKWARD-INCOMPATIBLE CHANGE. New behavior, compatible with previous versions of CockroachDB: the command
cockroach debug zip
stores data retrieved from SQL tables in the remote cluster using the TSV format by default.Release note (cli change): The default value of the
--format
parameter tocockroach debug zip
istsv
, like other CLI commands that can extract SQL data.