Skip to content

Commit

Permalink
[Rel v0.2] Migrate leftover Rel (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkastrinis authored Sep 8, 2024
1 parent 820799f commit d54e76f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rai/results_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,12 @@ var primitiveTypeTests = []execTest{
},
{
query: `
def config:data="""
def config[:data]: """
a,b,c
1,2,3
4,5,6"""
def csv = load_csv[config]
def output(p) = csv(_, p, _)`,
def csv { load_csv[config] }
def output(p): csv(_, p, _)`,
mdata: mdata("0.arrow", sig("output", vtype("rel:base:FilePos", Int64Type))),
pdata: xdata("0.arrow", sig(Int64Type), [][]any{{int64(2), int64(3)}}),
rdata: xdata("0.arrow", sig("output", Int64Type),
Expand Down Expand Up @@ -463,7 +463,7 @@ var constPrimitiveTypeTests = []execTest{
rdata: xdata("0.arrow", sig("output", '👍'), row("output", '👍')),
},
{
query: `def output { #(2021-10-12T01:22:31+10:00) }`,
query: `def output { ::std::mirror::lift[2021-10-12T01:22:31+10:00] }`,
mdata: mdata("0.arrow", sig("output",
ctype("rel:base:DateTime", int64(63801184951000)))),
pdata: xdata("0.arrow", sig(), row()),
Expand Down

0 comments on commit d54e76f

Please sign in to comment.