Skip to content

[FEATURE] Add PPL support to access values in array #675

Closed
@A-Gray-Cat

Description

@A-Gray-Cat

Is your feature request related to a problem?
Currently, PPL doesn't support accessing values inside an array. For example,

{
    "items": ["a", "b", "c"]
}

Users can't select value a, b, or c using PPL.

What solution would you like?
Users can access the first element of the array by using syntax like eval first_item = items[0], or it can be retrieved directly using the fields command, e.g. fields items[0].

Metadata

Metadata

Assignees

Labels

0.6Lang:PPLPipe Processing Language supportenhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions