In the absence of an explicit requested format via -f, the CLI tools are currently clever about sending ZSON by default if terminal output is detected and binary ZNG if the output is redirected. However, we offer the -f option if the user is confident they want to force it. In this regard, they can indeed get binary Parquet gobbledygook at the terminal if it's truly what they seek.
tl;dr
The following still produces ZSON output despite the
-f zng
.Details
Repro is with Zed commit b9388c4.
In the absence of an explicit requested format via
-f
, the CLI tools are currently clever about sending ZSON by default if terminal output is detected and binary ZNG if the output is redirected. However, we offer the-f
option if the user is confident they want to force it. In this regard, they can indeed get binary Parquet gobbledygook at the terminal if it's truly what they seek.Though it's hard to imagine why it would be desirable, it does seem like we should do the same with
-f zng
.