Skip to content

ValidationError if column value is 1 or 2 #178

Open
@davicorreiajr

Description

@davicorreiajr

I'm having a weird issue: whenever the column value is 1 or 2, I get the following error:

target_postgres.exceptions.SingerStreamError: ('Invalid records detected above threshold: 0. See `.args` for details.', [(<ValidationError: '2.0 is not valid under any of the given schemas'

It's weird that I get the error for 1 or 2, but from 3 on it seems to work.

If it helps, the generated schema for this column is:

{
   "anyOf":[
      {
         "type":"null"
      },
      {
         "type":"number",
         "multipleOf":1e-15
      },
      {
         "type":"string"
      }
   ]
}

I'm using target-postgres along with tap-google-sheets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions