You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Record Accessor API currently cannot handle direct array access patterns like $[0] or $array[0]. It requires the array to be nested within a map first, like $data.array[0].
The record accessor implementation in flb_ra_key_to_value requires a map lookup first through ra_key_val_id before handling any array access. This makes it impossible to access array elements directly without first having a map key.
Proposed Solution:
Modify the record accessor code to:
Check if the root object is an array when direct array access is attempted
Add handling for array access without requiring an initial map lookup
Parse and validate array indices directly
The text was updated successfully, but these errors were encountered:
Bug Report
The Record Accessor API currently cannot handle direct array access patterns like $[0] or $array[0]. It requires the array to be nested within a map first, like $data.array[0].
The record accessor implementation in flb_ra_key_to_value requires a map lookup first through ra_key_val_id before handling any array access. This makes it impossible to access array elements directly without first having a map key.
Proposed Solution:
Modify the record accessor code to:
The text was updated successfully, but these errors were encountered: