zed
zed copied to clipboard
A novel data lake based on super-structured data
Zed's [`strftime` function](https://zed.brimdata.io/docs/next/language/functions/strftime) currently can only print offsets without colons (e.g., `2024-08-14T12:12:51-0700`). However, [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) (which ZSON time literals are based on) only support offsets with colons (e.g., `2024-08-14T12:12:51-07:00`). So...
You should be able to check out an arbitrary commit that is not part of a branch. There are some checks in the CLI command that prevent this and there...
For this input... ``` {s:"a",x:[1,2]} {s:"a",x:[3]} {s:"b",x:[4,5]} {s:"b",x:[6,7]} ``` and this Zed: ``` zq "let s=s over x => ( union(this) by s )" in.zson ``` or this Zed: ```...
In a recent [community Slack thread](https://brimdata.slack.com/archives/CTSMAK6G7/p1719801076425009), a user was manipulating an array in an `over` scope in a way that required knowing the index of each value. I responded with...
Issues like https://github.com/brimdata/zui/issues/1057 and https://github.com/brimdata/brimcap/issues/352 reflect users' desire to sometimes work in non-UTC timezones, such as their local time. The [`strftime` function](https://zed.brimdata.io/docs/next/language/functions/strftime) added in #5197 provides the `%z` and `%Z`...
The `strftime` function added via #5197 doesn't currently have the ability to capture the full nanosecond precision of Zed `time` values, but probably should. ## Details Repro is with Zed...
Repro is with Zed commit e7623c5. This works as expected: ``` $ zq -version Version: v1.17.0-27-ge7623c57 $ echo "1 3" | zq 'fork ( => count() | debug f"debug: count...
A user reported in a recent [community Slack thread](https://brimdata.slack.com/archives/CTSMAK6G7/p1724520253538609): > regexp and split have their args in different orders -- regexp takes the regex first, then the input string; split...
## tl;dr A user asked in a [community Slack thread](https://brimdata.slack.com/archives/CTSMAK6G7/p1720452417037999?thread_ts=1719937758.651189&cid=CTSMAK6G7): > I noticed that the `grep` function takes `this` as the 2nd argument by default, and [...] most(?) / "all...
We've spotted some inconsistencies and things we'd like to improve among the operators and functions that are currently part of the Zed language, e.g., things like arguments and how they're...