databendlabs/jsonb

Tracking: Support the full JSON Path language

Open

#12 创建于 2023年4月20日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Rust (17 fork)github user discovery
good first issuehelp wanted

仓库指标

Star
 (86 star)
PR 合并指标
 (平均合并 7天 6小时) (30 天内合并 1 个 PR)

描述

JSON path has already implemented the basic elements accessors and comparison predicates filter expression, in order to support the full JSON Path language, the following tasks need to be done further.

  • Variables:
    • Variables
  • Modes:
    • lax
    • strict
  • Item methods:
    • type()
    • size()
    • double()
    • ceiling()
    • floor()
    • abs()
    • datetime()
    • keyvalue()
  • Arithmetic expressions
    • Unary + or -
    • Binary +, -, *, /, %
  • Filter expression
    • exists path predicate
    • like_regex predicate
    • starts with predicate
    • is unknown predicate

The syntax and functionality of JSON Path should be implemented in accordance with the SQL:2016 (ISO/IEC 9075:2016) standard. Here are some references:

贡献者指南