@mapmany missing?
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
调研方向
使用 QuerySQLite 和 SQLite 重现 issue 中的管道,然后将缺失的 mapmany 调用与 QueryOperators 的 enumerable_mapmany.jl 实现进行比较。阅读 standalone_query_macros.jl 中生成的调用,并确定 SQLite 源码在哪个位置未能支持该调用。当 groupby、split 和 mapmany 示例成功运行时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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]:1
- 主要语言
- Julia
- 星标
- 4
- 派生
- 2
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
queryverse/QuerySQLite.jl 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 42/100
queryverse/QuerySQLite.jl#33 · 2 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
queryverse/QuerySQLite.jl#32 ·
-
难度 5/5 一周以上 新手友好度 20/100
queryverse/QuerySQLite.jl#15 · 4 条评论 ·
-
queryverse/QuerySQLite.jl#7 · 2 条评论 · 已指派 1 人 ·
查看 queryverse/QuerySQLite.jl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
-
interpolate! from a Float32 LatitudeLongitudeGrid fails on Metal: Float64 division in find_λ_range 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
CliMA/Oceananigans.jl#6056 ·
-
难度 1/5 1-3 小时 新手友好度 88/100
JuliaPluto/PlutoPlotly.jl#72 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
epiforecasts/BVDOutbreakSize#811 ·
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
SciML/NonlinearSolve.jl#1310 · 1 条评论 ·