databendlabs/jsonb

Tracking: Support the full JSON Path language

Open

#12 aperta il 20 apr 2023

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (17 fork)github user discovery
good first issuehelp wanted

Metriche repository

Star
 (86 star)
Metriche merge PR
 (Merge medio 7g 6h) (1 PR mergiata in 30 g)

Descrizione

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:

Guida contributor