-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Using master, it looks like the @mapmany command is missing. For the groupby and then split approach mapmany is critical, is it just not implemented? I didn't see it mentioned in the codebase.
julia> db = SQLite.DB("data.sqlite3");
julia> getproperty(db, tbl[1]) |>
@groupby(_.cell_id) |>
# filter stuff
@map({cell_id=key(_), rows=_}) |>
@mapmany(i->i.rows, (i, j)->{j...}) |>
DataFrame;
MethodError: no method matching mapmany(::QuerySQLite.SourceCode{SQLite.DB}, ::var"#113#123", ::Expr, ::var"#114#124", ::Expr)
Closest candidates are:
mapmany(!Matched::QueryOperators.Enumerable, ::Function, ::Expr, ::Function, ::Expr) at /home/tlnagy/.julia/packages/QueryOperators/g4G21/src/enumerable/enumerable_mapmany.jl:42
Stacktrace:
[1] (::var"#112#122")(::QuerySQLite.SourceCode{SQLite.DB}) at /home/tlnagy/.julia/packages/Query/AwBtd/src/standalone_query_macros.jl:205
[2] |>(::QuerySQLite.SourceCode{SQLite.DB}, ::var"#112#122") at ./operators.jl:823
[3] top-level scope at In[30]:1Metadata
Metadata
Assignees
Labels
No labels