[FEATURE] Command-line option to output JSON response
还没有人认领这个 Issue。
评估
调研方向
首先阅读命令行参数处理以及与 -q 一起使用的查询输出路径。添加所请求的 --json 行为,并验证命令行查询会生成适合后续处理的原始 JSON 文档。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem?
When I use sli-cli in command-line mode (i.e., opensearchsql -p '<query> sometime I would like to get the raw JSON output from the SQL plugin so that I can post process it with other tools.
What solution would you like?
A command-line option, like --json that in conjunction with -q option makes sql-cli output JSON documents.
What alternatives have you considered?
Using OpenSearch SQL REST API directly. This gets very repetitive after a while.
- 主要语言
- Python
- 星标
- 9
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
opensearch-project/sql-cli 的其他 Issue
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 68/100
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 58/100
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 58/100
-
难度 5/5 一周以上 新手友好度 20/100
opensearch-project/sql-cli#59 · 1 条评论 · 1 个 reaction ·
-
Update version on PyPi可能重新可做 @zhongnansu 于 191 天前认领,目前没有进行中的 PR。 未关闭documentation enhancement
opensearch-project/sql-cli#45 · 3 条评论 · 已指派 1 人 ·
查看 opensearch-project/sql-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
cathrynlavery/diagram-design#441 ·
维护者通常 2 天内回复
-
[Cleanup] Include the public header in work_split.cpp可能已有人在做 @blozano-tt 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
tenstorrent/tt-metal#60850 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
backend::sglang bug language::python observability
难度 2/5 半天 新手友好度 65/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 75/100
OpenShot/openshot-qt#6202 ·
维护者通常 1 天内回复