You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ curl -X POST -H "content-type: application/json" -d '{"query":"type socket = {addr:ip,port:port=uint16}\nfrom sample.zng","head":null}' http://localhost:9867/query/describe
{"type":"Error","kind":"invalid operation","error":"unsupported source type *dag.Scope"}
Details
Repro is with GA Zui tagged v1.16.0.
The high-level symptom was reported by a zync community user that was running Zui Insiders. Via binary search I've confirmed the problem started to appear at Zui commit 21abbf6 which is associated with the changes in brimdata/zui#3085. In essence, a Zed program with a leading statement such as type produces an error and no query output.
Studying packet captures reveals that what's being shown is from an HTTP 400 response on the "describe" endpoint, which can be reproduced at the shell.
$ curl -X POST -H "content-type: application/json" -d '{"query":"type socket = {addr:ip,port:port=uint16}\nfrom sample.zng","head":null}' http://localhost:9867/query/describe
{"type":"Error","kind":"invalid operation","error":"unsupported source type *dag.Scope"}
At prior Zui commits, it appears that response was effectively being ignored. But since the query is valid, it does seem the fix should come from the Zed side.
The text was updated successfully, but these errors were encountered:
tl;dr
Details
Repro is with GA Zui tagged
v1.16.0
.The high-level symptom was reported by a zync community user that was running Zui Insiders. Via binary search I've confirmed the problem started to appear at Zui commit 21abbf6 which is associated with the changes in brimdata/zui#3085. In essence, a Zed program with a leading statement such as
type
produces an error and no query output.Studying packet captures reveals that what's being shown is from an HTTP 400 response on the "describe" endpoint, which can be reproduced at the shell.
At prior Zui commits, it appears that response was effectively being ignored. But since the query is valid, it does seem the fix should come from the Zed side.
The text was updated successfully, but these errors were encountered: