@@ -17,7 +17,7 @@ var fixtures = map[string]sql.Node{
17
17
expression .NewUnresolvedColumn ("foo" ),
18
18
expression .NewUnresolvedColumn ("bar" ),
19
19
},
20
- plan .NewUnresolvedRelation ("foo" ),
20
+ plan .NewUnresolvedTable ("foo" ),
21
21
),
22
22
`SELECT foo, bar FROM foo WHERE foo = bar;` : plan .NewProject (
23
23
[]sql.Expression {
@@ -29,7 +29,7 @@ var fixtures = map[string]sql.Node{
29
29
expression .NewUnresolvedColumn ("foo" ),
30
30
expression .NewUnresolvedColumn ("bar" ),
31
31
),
32
- plan .NewUnresolvedRelation ("foo" ),
32
+ plan .NewUnresolvedTable ("foo" ),
33
33
),
34
34
),
35
35
`SELECT foo, bar FROM foo WHERE foo = 'bar';` : plan .NewProject (
@@ -42,7 +42,7 @@ var fixtures = map[string]sql.Node{
42
42
expression .NewUnresolvedColumn ("foo" ),
43
43
expression .NewLiteral ("bar" , sql .String ),
44
44
),
45
- plan .NewUnresolvedRelation ("foo" ),
45
+ plan .NewUnresolvedTable ("foo" ),
46
46
),
47
47
),
48
48
`SELECT foo, bar FROM foo LIMIT 10;` : plan .NewProject (
@@ -51,7 +51,7 @@ var fixtures = map[string]sql.Node{
51
51
expression .NewUnresolvedColumn ("bar" ),
52
52
},
53
53
plan .NewLimit (int64 (10 ),
54
- plan .NewUnresolvedRelation ("foo" ),
54
+ plan .NewUnresolvedTable ("foo" ),
55
55
),
56
56
),
57
57
`SELECT foo, bar FROM foo ORDER BY baz DESC;` : plan .NewProject (
@@ -61,7 +61,7 @@ var fixtures = map[string]sql.Node{
61
61
},
62
62
plan .NewSort (
63
63
[]plan.SortField {{expression .NewUnresolvedColumn ("baz" ), plan .Descending }},
64
- plan .NewUnresolvedRelation ("foo" ),
64
+ plan .NewUnresolvedTable ("foo" ),
65
65
),
66
66
),
67
67
`SELECT foo, bar FROM foo WHERE foo = bar LIMIT 10;` : plan .NewProject (
@@ -75,7 +75,7 @@ var fixtures = map[string]sql.Node{
75
75
expression .NewUnresolvedColumn ("foo" ),
76
76
expression .NewUnresolvedColumn ("bar" ),
77
77
),
78
- plan .NewUnresolvedRelation ("foo" ),
78
+ plan .NewUnresolvedTable ("foo" ),
79
79
),
80
80
),
81
81
),
@@ -87,7 +87,7 @@ var fixtures = map[string]sql.Node{
87
87
plan .NewLimit (int64 (1 ),
88
88
plan .NewSort (
89
89
[]plan.SortField {{expression .NewUnresolvedColumn ("baz" ), plan .Descending }},
90
- plan .NewUnresolvedRelation ("foo" ),
90
+ plan .NewUnresolvedTable ("foo" ),
91
91
),
92
92
),
93
93
),
@@ -104,7 +104,7 @@ var fixtures = map[string]sql.Node{
104
104
expression .NewUnresolvedColumn ("qux" ),
105
105
expression .NewLiteral (int64 (1 ), sql .BigInteger ),
106
106
),
107
- plan .NewUnresolvedRelation ("foo" ),
107
+ plan .NewUnresolvedTable ("foo" ),
108
108
),
109
109
),
110
110
),
0 commit comments