Skip to content

Commit 9196dad

Browse files
committed
Back to using | over |> in docs, tests, etc.
1 parent b3ed4d5 commit 9196dad

File tree

238 files changed

+789
-789
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+789
-789
lines changed

cmd/super/db/manage/ztests/compact-size.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ script: |
99
seq 100 150 | super -c '{ts:this,x:1}' - | super db load -q -
1010
seq 200 250 | super -c '{ts:this,x:1}' - | super db load -q -
1111
super db manage -q
12-
super db query -z 'from test@main:objects |> drop id'
12+
super db query -z 'from test@main:objects | drop id'
1313
1414
outputs:
1515
- name: stdout

cmd/super/db/manage/ztests/compact.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ script: |
77
seq 200 | super -c '{ts:this}' - | super db load -q -
88
done
99
super db manage -q
10-
super db query -z 'from test@main:objects |> drop id'
10+
super db query -z 'from test@main:objects | drop id'
1111
1212
outputs:
1313
- name: stdout

cmd/super/db/manage/ztests/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ script: |
66
super db create -q test3
77
super db branch -use test2 -q live
88
super db manage -config=inherit.yaml -log.path=inherit.log
9-
super -Z -c 'msg == "updating pool" |> cut name, branch |> sort name' inherit.log > inherit.jsup
9+
super -Z -c 'msg == "updating pool" | cut name, branch | sort name' inherit.log > inherit.jsup
1010
1111
inputs:
1212
- name: inherit.yaml

cmd/super/db/manage/ztests/overlap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ script: |
99
seq 100 | super -c '{ts:this,x:1}' - | super db load -q -
1010
done
1111
super db manage -q
12-
super db query -z 'from test@main:objects |> drop id'
12+
super db query -z 'from test@main:objects | drop id'
1313
1414
outputs:
1515
- name: stdout

cmd/super/db/manage/ztests/pool-flag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ script: |
66
super db create -q test3
77
super db create -q test4
88
super db manage -pool test2 -pool test4 -log.path=manage.log
9-
super -z -c 'msg == "updating pool" |> yield name' manage.log
9+
super -z -c 'msg == "updating pool" | yield name' manage.log
1010
1111
outputs:
1212
- name: stdout

cmd/super/db/manage/ztests/vectors.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ script: |
77
seq 1 10 | super -c '{ts:this}' - | super db load -q -
88
seq 1 10 | super -c '{ts:this}' - | super db load -q -
99
super db manage -log.level=warn -q -vectors
10-
super db query -z 'from test1@main:vectors |> drop id'
10+
super db query -z 'from test1@main:vectors | drop id'
1111
echo '// Test create vector on single object.'
1212
super db create -use -q test2
1313
seq 1 10 | super -c '{ts:this}' - | super db load -q -
1414
super db manage -log.level=warn -q -vectors
15-
super db query -z 'from test2@main:vectors |> drop id'
15+
super db query -z 'from test2@main:vectors | drop id'
1616
1717
outputs:
1818
- name: stdout

cmd/super/db/ztests/query-stats.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ script: |
33
super db init -q
44
super db create -q test
55
super db load -q -use test babble.jsup
6-
super db query -s -z "from test |> count()"
6+
super db query -s -z "from test | count()"
77
88
inputs:
99
- name: babble.jsup

cmd/super/internal/lakemanage/scan.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ func scan(ctx context.Context, it *objectIterator, pool *pools.Config, runCh cha
6262

6363
const iteratorQuery = `
6464
from %q@%q:objects
65-
|> left join (from %q@%q:vectors) on id=id vector:=true
66-
|> sort min
65+
| left join (from %q@%q:vectors) on id=id vector:=true
66+
| sort min
6767
`
6868

6969
type objectIterator struct {

cmd/super/root/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ the input and then transforms or analyzes the filtered stream.
3636
Output is written to one or more files or to standard output.
3737
3838
A query is comprised of one or more operators interconnected
39-
into a pipeline using the pipe symbol "|>".
39+
into a pipeline using the pipe symbol "|" or the alternate "|>".
4040
See https://zed.brimdata.io/docs/language
4141
for details. The "select" and "from" operators provide backward
4242
compatibility with SQL. In fact, you can use SQL exclusively and

cmd/super/ztests/call-user-op-with-src.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
- name: countfile.zed
66
data: |
77
op countfile(): (
8-
file test.jsup |> count()
8+
file test.jsup | count()
99
)
1010
- name: test.jsup
1111
data: '{} {} {} {}'

0 commit comments

Comments
 (0)