File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,24 +15,24 @@ func TestParquetFile(t *testing.T) {
1515 t .Error (err )
1616 }
1717
18- // df = df.
19- // Filter(logicalplan.Eq(
20- // logicalplan.ColumnExpr{Name: "c1"},
21- // logicalplan.LiteralInt64Expr{Val: 200},
22- // )).
23- // Project(
24- // logicalplan.ColumnExpr{Name: "c1"},
25- // logicalplan.ColumnExpr{Name: "c2"},
26- // ).Aggregate(
27- // []logicalplan.Expr{
28- // logicalplan.ColumnExpr{Name: "c1"},
29- // },
30- // []logicalplan.AggregateExpr{
31- // {
32- // Name: "sum",
33- // Expr: logicalplan.ColumnExpr{Name: "c2"},
34- // },
35- // })
18+ df = df .
19+ Filter (logicalplan .Eq (
20+ logicalplan.ColumnExpr {Name : "c1" },
21+ logicalplan.LiteralInt64Expr {Val : 200 },
22+ )).
23+ Project (
24+ logicalplan.ColumnExpr {Name : "c1" },
25+ logicalplan.ColumnExpr {Name : "c2" },
26+ ).Aggregate (
27+ []logicalplan.Expr {
28+ logicalplan.ColumnExpr {Name : "c1" },
29+ },
30+ []logicalplan.AggregateExpr {
31+ {
32+ Name : "sum" ,
33+ Expr : logicalplan.ColumnExpr {Name : "c2" },
34+ },
35+ })
3636
3737 logicalPlan , _ := df .LogicalPlan ()
3838 fmt .Println (logicalplan .PrettyPrint (logicalPlan , 0 ))
You can’t perform that action at this time.
0 commit comments