Skip to content
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

Super-fy the Super Binary format doc #5387

Merged
merged 4 commits into from
Oct 30, 2024
Merged

Super-fy the Super Binary format doc #5387

merged 4 commits into from
Oct 30, 2024

Conversation

philrz
Copy link
Contributor

@philrz philrz commented Oct 29, 2024

In the same spirit as #5368.

Details

As with other recent super-fying docs PRs, I've selectively removed some excess repeats, i.e., since the three-letter "ZNG" was cheap to say, it was sometimes used multiple times in the same sentence and didn't seem to hurt the flow, but turning each of those into "Super Binary" starts to look a little long-winded. That said, since this is a formal spec, I didn't push it too hard because I figured absolute technical correctness wins out over casual readability here. But if anyone spots more repeats in here you think are worth dropping, please point them out!

@philrz philrz requested a review from a team October 29, 2024 23:49
@philrz philrz self-assigned this Oct 29, 2024
@@ -34,7 +34,7 @@ an S3 URL, or standard input specified with `-`.
For built-in command help and a listing of all available options,
simply run `zq` with no arguments.

`zq` supports a number of [input](#input-formats) and [output](#output-formats) formats, but [ZNG](../formats/zng.md)
`zq` supports a number of [input](#input-formats) and [output](#output-formats) formats, but [Super Binary](../formats/bsup.md)
tends to be the most space-efficient and most performant. ZNG has efficiency similar to
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed ZNG here


The body of a control frame is a control message and may be JSON,
Super JSON, Super Binary, arbitrary binary, or UTF-8 text. The serialization of the control
frame body is independent of the Super JSON stream containing the control
frame body is independent of the Super Binary stream containing the control
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is referring to embedded Super JSON inside of Super Binary so you shouldn't change JSON to Binary here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mccanne and I talked offline about this one and confirmed that it's a reference to the Super Binary stream after all, but we can just drop the reference to "Super Binary" here entirely.

@@ -13,7 +13,7 @@ The Python client interacts with the Zed lake via the REST API served by
[`zed serve`](../commands/zed.md#serve).

This approach works adequately when high data throughput is not required.
We will soon introduce native [ZNG](../formats/zng.md) support for
We will soon introduce native [Super Binary](../formats/bsup.md) support for
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"we plan to" instead of "soon"

@philrz philrz merged commit 5cfc0e4 into main Oct 30, 2024
4 checks passed
@philrz philrz deleted the docs-bsup-format branch October 30, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants