Custom functions: Unknown function
还没有人认领这个 Issue。
评估
调研方向
首先使用查询 filter(.city == "New York") | times(.age) 运行 example4_custom_functions.py,并将其与示例中可正常工作的自定义函数用法进行比较。跟踪 pipeline 解析函数名的位置;当 times 在管道符之后被识别并正确执行,且不再出现未知函数 SyntaxError 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Hello,
When I try example in example4_custom_functions.py
and put 'filter(.city == "New York") | times(.age)' in query, I got:
SyntaxError: Unknown function "times"
In fact custom functions seems to not work in queries with pipe...
Is it possible to fix that?
Thanks
- 主要语言
- Python
- 星标
- 55
- 派生
- 3
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jsonquerylang/jsonquery-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 52/100
-
难度 3/5 1-2 天 新手友好度 45/100
查看 jsonquerylang/jsonquery-python 的全部 Issue
相似的 Issue
-
fix: inaccuracy ⚠️
难度 2/5 1-3 小时 新手友好度 72/100
uabrc/uabrc.github.io#1255 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
ethereum-optimism/factory#64 ·
-
难度 2/5 1-3 小时 新手友好度 90/100
duckdb/duckdb-python#627 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
-
documentation
难度 1/5 1 小时以内 新手友好度 78/100
Qiskit/qiskit-addon-sqd#376 ·