Comments (1)
Verified in Zed commit 07893a2.
Now the set value inside the record comes back from map()
as a set.
$ zq -version
Version: v1.10.0-36-g07893a2b
$ echo '{m:|["foo","bar","baz"]|}' | zq -z 'yield map(m, upper)' -
|["BAR","BAZ","FOO"]|
Thanks @mattnibs!
from zed.
Related Issues (20)
- Make the body of a user-defined function a fully-fledged scope
- Panic when accessing variable inside switch-in-lateral-query-in-a-switch HOT 1
- Panic when using "over" in an expression context HOT 1
- Out-of-order output from Zed program with conditional logic HOT 1
- zq "rare surprise" when Zed query clashes with filename
- Reading CSV files that have duplicate columns
- Stateful expressions in user defined functions HOT 1
- "panic: index out of range" on attempted join HOT 1
- "panic: invalid memory address or nil pointer dereference" when quiet() is part of join assignment
- ZSON "decorator conflict"
- Panic when attempting to write primitive Zed values as Zeek TSV
- Implicit stdin support / Unintuitive behaviour when omitting '-' HOT 5
- zq option to specify a null input value
- Deprecate multi-from syntax
- Canceled load causes "panic: runtime error: slice bounds out of range"
- Describe of Zed with statements causes "unsupported source type *dag.Scope" HOT 1
- Panic when attempting to output complex values as text/table HOT 1
- Anonymous/inline functions
- Query again when exporting
- Panic when attempting to use "load" operator with zq HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zed.