Skip to content

Commit

Permalink
update expected results of PG16
Browse files Browse the repository at this point in the history
  • Loading branch information
kaigai committed May 18, 2024
1 parent 49e86f4 commit d0da268
Show file tree
Hide file tree
Showing 42 changed files with 918 additions and 11,151 deletions.
86 changes: 46 additions & 40 deletions test/16/expected/dexpr_misc.out

Large diffs are not rendered by default.

33 changes: 18 additions & 15 deletions test/16/expected/dexpr_scalar_array_op.out
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ SELECT id,x INTO test01g FROM regtest_data
Output: id, x
GPU Projection: id, x
GPU Scan Quals: (72 = ANY (x)) [rows: 5000 -> 17]
KVars-Slot: <slot=0, type='int4', expr='NULL::integer'>, <slot=1, type='array(int4)', expr='x'>, <slot=2, type='int4', expr='id'>
KVecs-Buffer: nbytes: 36880, ndims: 2, items=[kvec0=<0x0000-680f, type='array', expr='x'>, kvec1=<0x6810-900f, type='int4', expr='id'>]
KVars-Slot: <slot=0, type='int4', expr='NULL::integer'>, <slot=1, type='array(int4)', expr='x', kv_off=0x0000>, <slot=2, type='int4', expr='id', kv_off=0x3410>
KVecs-Buffer: nbytes: 18448, ndims: 2, items=[kvec0=<0x0000-340f, type='array', expr='x'>, kvec1=<0x3410-480f, type='int4', expr='id'>]
LoadVars OpCode: {Packed items[0]={LoadVars(depth=0): kvars=[<slot=2, type='int4' resno=1(id)>, <slot=1, type='array' resno=2(x)>]}}
MoveVars OpCode: {Packed items[0]={MoveVars(depth=0): items=[<slot=1, offset=0x0000-680f, type='array', expr='x'>, <slot=2, offset=0x6810-900f, type='int4', expr='id'>]}}}
MoveVars OpCode: {Packed items[0]={MoveVars(depth=0): items=[<slot=1, offset=0x0000-340f, type='array', expr='x'>, <slot=2, offset=0x3410-480f, type='int4', expr='id'>]}}}
Scan Quals OpCode: {ScalarArrayOpAny: elem=<slot=0, type='int4'> args=[{Var(array): slot=1, expr='x'}, {Func(bool)::int4eq args=[{Const(int4): value='72'}, {Var(int4): slot=0, expr='NULL::integer'}]}]}
Projection OpCode: {Projection: layout=<2,1> args=[{SaveExpr: <slot=2, type='int4'> arg={Var(int4): kvec=0x6810-9010, expr='id'}}, {SaveExpr: <slot=1, type='array'> arg={Var(array): kvec=0x0000-6810, expr='x'}}]}
Projection OpCode: {Projection: layout=<2,1> args=[{SaveExpr: <slot=2, type='int4'> arg={Var(int4): kvec=0x3410-4810, expr='id'}}, {SaveExpr: <slot=1, type='array'> arg={Var(array): kvec=0x0000-3410, expr='x'}}]}
Fallback-desc: [<dest='0', expr='id', depth=0:1>, <dest='1', expr='x', depth=0:1>]
CUDA Stack Size: 3936
(11 rows)
(12 rows)

SELECT id,x INTO test01g FROM regtest_data
WHERE 72 = ANY(x);
Expand Down Expand Up @@ -95,14 +96,15 @@ SELECT id,y INTO test02g FROM regtest_data
Output: id, y
GPU Projection: id, y
GPU Scan Quals: (75.96 = ANY (y)) [rows: 5000 -> 2]
KVars-Slot: <slot=0, type='numeric', expr='NULL::numeric'>, <slot=1, type='array(numeric)', expr='y'>, <slot=2, type='int4', expr='id'>
KVecs-Buffer: nbytes: 36880, ndims: 2, items=[kvec0=<0x0000-680f, type='array', expr='y'>, kvec1=<0x6810-900f, type='int4', expr='id'>]
KVars-Slot: <slot=0, type='numeric', expr='NULL::numeric'>, <slot=1, type='array(numeric)', expr='y', kv_off=0x0000>, <slot=2, type='int4', expr='id', kv_off=0x3410>
KVecs-Buffer: nbytes: 18448, ndims: 2, items=[kvec0=<0x0000-340f, type='array', expr='y'>, kvec1=<0x3410-480f, type='int4', expr='id'>]
LoadVars OpCode: {Packed items[0]={LoadVars(depth=0): kvars=[<slot=2, type='int4' resno=1(id)>, <slot=1, type='array' resno=3(y)>]}}
MoveVars OpCode: {Packed items[0]={MoveVars(depth=0): items=[<slot=1, offset=0x0000-680f, type='array', expr='y'>, <slot=2, offset=0x6810-900f, type='int4', expr='id'>]}}}
MoveVars OpCode: {Packed items[0]={MoveVars(depth=0): items=[<slot=1, offset=0x0000-340f, type='array', expr='y'>, <slot=2, offset=0x3410-480f, type='int4', expr='id'>]}}}
Scan Quals OpCode: {ScalarArrayOpAny: elem=<slot=0, type='numeric'> args=[{Var(array): slot=1, expr='y'}, {Func(bool)::numeric_eq args=[{Const(numeric): value='75.96'}, {Var(numeric): slot=0, expr='NULL::numeric'}]}]}
Projection OpCode: {Projection: layout=<2,1> args=[{SaveExpr: <slot=2, type='int4'> arg={Var(int4): kvec=0x6810-9010, expr='id'}}, {SaveExpr: <slot=1, type='array'> arg={Var(array): kvec=0x0000-6810, expr='y'}}]}
Projection OpCode: {Projection: layout=<2,1> args=[{SaveExpr: <slot=2, type='int4'> arg={Var(int4): kvec=0x3410-4810, expr='id'}}, {SaveExpr: <slot=1, type='array'> arg={Var(array): kvec=0x0000-3410, expr='y'}}]}
Fallback-desc: [<dest='0', expr='id', depth=0:1>, <dest='1', expr='y', depth=0:1>]
CUDA Stack Size: 3936
(11 rows)
(12 rows)

SELECT id,y INTO test02g FROM regtest_data
WHERE 75.96 = ANY(y);
Expand Down Expand Up @@ -130,14 +132,15 @@ SELECT id,z INTO test03g FROM regtest_data
Output: id, z
GPU Projection: id, z
GPU Scan Quals: ('kVOV'::text = ANY (z)) [rows: 5000 -> 1]
KVars-Slot: <slot=0, type='text', expr='NULL::text'>, <slot=1, type='array(text)', expr='z'>, <slot=2, type='int4', expr='id'>
KVecs-Buffer: nbytes: 36880, ndims: 2, items=[kvec0=<0x0000-680f, type='array', expr='z'>, kvec1=<0x6810-900f, type='int4', expr='id'>]
KVars-Slot: <slot=0, type='text', expr='NULL::text'>, <slot=1, type='array(text)', expr='z', kv_off=0x0000>, <slot=2, type='int4', expr='id', kv_off=0x3410>
KVecs-Buffer: nbytes: 18448, ndims: 2, items=[kvec0=<0x0000-340f, type='array', expr='z'>, kvec1=<0x3410-480f, type='int4', expr='id'>]
LoadVars OpCode: {Packed items[0]={LoadVars(depth=0): kvars=[<slot=2, type='int4' resno=1(id)>, <slot=1, type='array' resno=4(z)>]}}
MoveVars OpCode: {Packed items[0]={MoveVars(depth=0): items=[<slot=1, offset=0x0000-680f, type='array', expr='z'>, <slot=2, offset=0x6810-900f, type='int4', expr='id'>]}}}
MoveVars OpCode: {Packed items[0]={MoveVars(depth=0): items=[<slot=1, offset=0x0000-340f, type='array', expr='z'>, <slot=2, offset=0x3410-480f, type='int4', expr='id'>]}}}
Scan Quals OpCode: {ScalarArrayOpAny: elem=<slot=0, type='text'> args=[{Var(array): slot=1, expr='z'}, {Func(bool)::texteq args=[{Const(text): value='kVOV'}, {Var(text): slot=0, expr='NULL::text'}]}]}
Projection OpCode: {Projection: layout=<2,1> args=[{SaveExpr: <slot=2, type='int4'> arg={Var(int4): kvec=0x6810-9010, expr='id'}}, {SaveExpr: <slot=1, type='array'> arg={Var(array): kvec=0x0000-6810, expr='z'}}]}
Projection OpCode: {Projection: layout=<2,1> args=[{SaveExpr: <slot=2, type='int4'> arg={Var(int4): kvec=0x3410-4810, expr='id'}}, {SaveExpr: <slot=1, type='array'> arg={Var(array): kvec=0x0000-3410, expr='z'}}]}
Fallback-desc: [<dest='0', expr='id', depth=0:1>, <dest='1', expr='z', depth=0:1>]
CUDA Stack Size: 3936
(11 rows)
(12 rows)

SELECT id,z INTO test03g FROM regtest_data
WHERE 'kVOV' = ANY (z);
Expand Down
Loading

0 comments on commit d0da268

Please sign in to comment.