Comments (1)
Verified in Zed commit 9c3f5fd.
The example program now returns the expected output that reflects separate state with each invocation.
$ zq -version
Version: v1.15.0-42-g9c3f5fdc
$ zq 'func c(): ( count() ) yield [c(), c(), c()]'
[1(uint64),1(uint64),1(uint64)]
Thanks @mattnibs!
from zed.
Related Issues (20)
- 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
- Panic when attempting to use "load" operator with zq HOT 1
- Panic due to null math HOT 1
- possible parser error if user-defined op or func starts with an internal operator name HOT 2
- "pthread_create failed: Resource temporarily unavailable" during Grafana dashboard load HOT 1
- Complex value search fails unless inner value types match precisely HOT 1
- casting complex type is order dependent when docs say different HOT 5
- Document or hide/remove "-f lake" output option
- trouble parsing csv input without final newline HOT 1
- Inform user if a colliding constant overrides a field reference
- Inform user of failed spread operations
- Improve parser errors during op/func mix-up
- Can't successfully pass "this" as part of an array parameter to user-defined op HOT 2
- Something like jq's "debug" HOT 2
- Accessing the index of current array element within an "over" scope HOT 1
- "Strict mode" for Zed language
- search_replace function HOT 2
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.