-
Notifications
You must be signed in to change notification settings - Fork 67
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
update help text for top-level super command #5426
Conversation
cmd/super/root/command.go
Outdated
HiddenFlags: "cpuprofile,memprofile,pathregexp", | ||
Long: ` | ||
XXX "super" is a command-line tool for processing data in diverse input formats, | ||
The "super" command provides a way to process data in diverse input formats, | ||
providing search, analytics, and extensive transormations using |
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.
providing search, analytics, and extensive transormations using | |
providing search, analytics, and extensive transformations using |
cmd/super/root/command.go
Outdated
A query typically applies Boolean logic or keyword search to filter | ||
the input and then transforms or analyzes the filtered stream. | ||
Output is written to one or more files or to standard output. | ||
|
||
A Zed query is comprised of one or more operators interconnected | ||
A query is comprised of one or more operators interconnected | ||
into a pipeline using the Unix pipe character "|". |
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.
into a pipeline using the Unix pipe character "|". | |
into a pipeline using the Unix pipe character "|>". |
Want to aspirationally make this change now on the assumption #5427 will go through?
BTW, I briefly paused on what to call |>
since it's not a single character, but I see the Google paper still calls it " the pipe character '|>'" so it seems like we can just go with that (though I also think the Unix comparison is still totally worth keeping).
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.
using the pipe symbol "|>"
cmd/super/root/command.go
Outdated
A query typically applies Boolean logic or keyword search to filter | ||
the input and then transforms or analyzes the filtered stream. | ||
Output is written to one or more files or to standard output. | ||
|
||
A Zed query is comprised of one or more operators interconnected | ||
A query is comprised of one or more operators interconnected | ||
into a pipeline using the Unix pipe character "|". | ||
See https://github.com/brimdata/super/tree/main/docs/language |
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.
See https://github.com/brimdata/super/tree/main/docs/language | |
See https://zed.brimdata.io/docs/language |
cmd/super/root/command.go
Outdated
into a pipeline using the Unix pipe character "|". | ||
See https://github.com/brimdata/super/tree/main/docs/language | ||
for details. | ||
for details. The "select" and "from" operators provide backward | ||
compatible with SQL. In fact, you can use SQL exclusively and |
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.
compatible with SQL. In fact, you can use SQL exclusively and | |
compatibility with SQL. In fact, you can use SQL exclusively and |
cmd/super/root/command.go
Outdated
|
||
Supported input formats include CSV, JSON, NDJSON, Parquet, | ||
Supported file formats include Arrow, CSV, JSON, Parquet, | ||
Super JSON, Super Binary, Super Columnar, and Zeek TSV. |
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.
Super JSON, Super Binary, Super Columnar, and Zeek TSV. | |
Super JSON, Super Binary, Super Columnar, and Zeek TSV. |
cmd/super/root/command.go
Outdated
For most types of data, the input format is automatically detected. | ||
If multiple files are specified, each file format is determined independently | ||
so you can mix and match input types. If multiple files are concatenated | ||
into a stream and presented as standard input, the files must all be of the | ||
same type as the beginning of stream will determine the format. | ||
|
||
If no input file is specified, the default of a single null value will be |
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.
If no input file is specified, the default of a single null value will be | |
If no input file is specified, the default of a single null input value will be |
cmd/super/root/command.go
Outdated
For most types of data, the input format is automatically detected. | ||
If multiple files are specified, each file format is determined independently | ||
so you can mix and match input types. If multiple files are concatenated | ||
into a stream and presented as standard input, the files must all be of the | ||
same type as the beginning of stream will determine the format. | ||
|
||
If no input file is specified, the default of a single null value will be | ||
fed to the query. This is analogous to SQL's default input of a single |
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.
fed to the query. This is analogous to SQL's default input of a single | |
fed to the query. This is analogous to SQL's default input of a single |
cmd/super/root/command.go
Outdated
convenient when a large, complex query spans multiple lines. In this case, | ||
these source files are concatenated together along with the command-line query text | ||
in the order appearing on the command line. | ||
in the order appearing on the command line. Any error messages are properly | ||
collated to the included file in which it occurred. |
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.
collated to the included file in which it occurred. | |
collated to the included file in which they occurred. |
cmd/super/root/command.go
Outdated
"zq" must be run with at least one input. Input files can | ||
be file system paths; "-" for standard input; or HTTP, HTTPS, or S3 URLs. | ||
Input files may be file system paths; | ||
"-" for standard input; or HTTP, HTTPS, or S3 URLs. | ||
For most types of data, the input format is automatically detected. | ||
If multiple files are specified, each file format is determined independently | ||
so you can mix and match input types. If multiple files are concatenated | ||
into a stream and presented as standard input, the files must all be of the | ||
same type as the beginning of stream will determine the format. |
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.
same type as the beginning of stream will determine the format. | |
same type as the beginning of the stream will determine the format. |
No description provided.