Skip to content

If cannot convert to requested datatype return null #6

@cwilkes

Description

@cwilkes

I'm inserting rows that have json that I have no control over, so I can get something like this:
{ "a" : { "b" : "c" } }
{ "a" : 100 }
{ "foo": "bar" }
where the "a" value can be another json element, an integer, or not even there. Like in issue #3 where the value is missing it is skipped over can items that cannot be cast to the correct response type be skipped over?

Currently I'm getting "ERROR: wrong json type found string, expected number" which is understandable, but there's no way I can avoid it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions