-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Description
The app has had its super dependency stuck at commit b0dc059 because once it advances to a12d23c (associated with the changes in brimdata/super#6453) or newer, yarn test has the following failures:
FAIL src/js/models/program.test.ts (6.03 s)
● drill down › when there is no leading filter
"i d" no such field at line 1, column 12:
count() by this["i d"]["orig h"]
~~~~
61 | async function run(value: any, text: string) {
62 | const info = await fetchQueryInfo(text, "test")
> 63 | if (info.error) throw new Error(info.error.error)
| ^
64 | const hasAggs = !!info.channels[0].aggregations_keys
65 | return drillDown(text, value, hasAggs, info.channels[0].aggregation_keys)
66 | }
at run (src/js/models/program.test.ts:63:27)
at Object.<anonymous> (src/js/models/program.test.ts:69:20)
● drill down › when there is a sort on there
"name" no such field at line 1, column 1:
name=="james" | count() by proto | sort -r count
~~~~
"proto" no such field at line 1, column 28:
name=="james" | count() by proto | sort -r count
~~~~~
61 | async function run(value: any, text: string) {
62 | const info = await fetchQueryInfo(text, "test")
> 63 | if (info.error) throw new Error(info.error.error)
| ^
at run (src/js/models/program.test.ts:63:27)
at Object.<anonymous> (src/js/models/program.test.ts:94:20)
● drill down › easy peasy
"name" no such field at line 1, column 1:
name=="james" | count() by proto
~~~~
"proto" no such field at line 1, column 28:
name=="james" | count() by proto
~~~~~
61 | async function run(value: any, text: string) {
62 | const info = await fetchQueryInfo(text, "test")
> 63 | if (info.error) throw new Error(info.error.error)
| ^
64 | const hasAggs = !!info.channels[0].aggregations_keys
65 | return drillDown(text, value, hasAggs, info.channels[0].aggregation_keys)
66 | }
at run (src/js/models/program.test.ts:63:27)
at Object.<anonymous> (src/js/models/program.test.ts:105:20)
● drill down › count by and filter the same
"md5" no such field at line 1, column 1:
md5=="123" | count() by md5 | sort -r | head 5
~~~
"md5" no such field at line 1, column 25:
md5=="123" | count() by md5 | sort -r | head 5
~~~
61 | async function run(value: any, text: string) {
62 | const info = await fetchQueryInfo(text, "test")
> 63 | if (info.error) throw new Error(info.error.error)
| ^
64 | const hasAggs = !!info.channels[0].aggregations_keys
65 | return drillDown(text, value, hasAggs, info.channels[0].aggregation_keys)
66 | }
at run (src/js/models/program.test.ts:63:27)
at Object.<anonymous> (src/js/models/program.test.ts:113:20)
● drill down › filter query
"_path" no such field at line 1, column 1:
_path=="files" | filename!="-" | count() by md5,filename | count() by md5 | sort -r | count > 1
~~~~~
"filename" no such field at line 1, column 18:
_path=="files" | filename!="-" | count() by md5,filename | count() by md5 | sort -r | count > 1
~~~~~~~~
"md5" no such field at line 1, column 45:
_path=="files" | filename!="-" | count() by md5,filename | count() by md5 | sort -r | count > 1
~~~
"filename" no such field at line 1, column 49:
_path=="files" | filename!="-" | count() by md5,filename | count() by md5 | sort -r | count > 1
~~~~~~~~
61 | async function run(value: any, text: string) {
62 | const info = await fetchQueryInfo(text, "test")
> 63 | if (info.error) throw new Error(info.error.error)
| ^
64 | const hasAggs = !!info.channels[0].aggregations_keys
65 | return drillDown(text, value, hasAggs, info.channels[0].aggregation_keys)
66 | }
at run (src/js/models/program.test.ts:63:27)
at Object.<anonymous> (src/js/models/program.test.ts:127:20)
I've hacked at this a bit and I have some sense of what's going on, so I'll add a comment with more details.
Metadata
Metadata
Assignees
Labels
No labels