Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema change on Agents table #26

Closed
jakedave opened this issue Apr 5, 2021 · 2 comments
Closed

Schema change on Agents table #26

jakedave opened this issue Apr 5, 2021 · 2 comments

Comments

@jakedave
Copy link
Contributor

jakedave commented Apr 5, 2021

While running an extraction, we received:

Error persisting data to Stitch: 400: {'error': 'Record 0 for table agents did not conform to schema:\n#: #: no subschema matched out of the total 2 subschemas\n#: expected: null, found: JSONObject\n#: extraneous key [enabled_departments] is not permitted\n'}

Similar to issues #15 and #22 it appears that the following line needs to be added to agents.json:

  "properties": {
   ...
    "enabled_departments": {
      "type": [
        "null",
        "array"
      ]
    },
    ...
}

Source.

If this is correct. I am happy to open a PR against the repo for this issue.

@brake21
Copy link

brake21 commented Apr 7, 2021

@jakedave Thanks for the quick look at the issue. What would be the timeline for this thing to work ?

@jakedave
Copy link
Contributor Author

jakedave commented Apr 7, 2021

@brake21 I opened a PR #27. I am waiting for the repo maintainers to merge this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants