Skip to content

ATF Normalization Issues #264

@dyaffe

Description

@dyaffe

Problem
We're seeing issues with the Airtable connector in ATF here.

It looks to be failing in the case of a JSON pointer like foo/bar/* which ends in a star because then the value of star_split[0] would be the empty array and star_split[0][0] would fail. It also appears as though it could fail for nested arrays.

It is specifically failing for the task OverseaBrands/airtable/source-airtable with this error:

{"ts":"2023-09-11T17:52:30.287524999Z","level":"error","message":"thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/interceptors/normalize.rs:52:41\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace","fields":null}

cc @mdibaiee

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions