Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

stream not getting selected element #1

Open
sziolko opened this issue Mar 4, 2019 · 1 comment
Open

stream not getting selected element #1

sziolko opened this issue Mar 4, 2019 · 1 comment

Comments

@sziolko
Copy link

sziolko commented Mar 4, 2019

When running singer-discover (on tap-hubspot and on tap-jira) I find that the "selected": true does not get added at the top level of the stream.

If I select the stream "projects" from tap-jira I expect that the start of the json would be:

  "streams": [
    {
      "tap_stream_id": "projects",
      "key_properties": [
        "id"
      ],
      "schema": {
        "selected": true,
        "properties": {

What I do get is:

  "streams": [
    {
      "tap_stream_id": "projects",
      "key_properties": [
        "id"
      ],
      "schema": {
        "properties": {

so the streams.schema.selected doesn't exist.

The fields within each stream are getting set as selected as intended.

For me to get the two taps mentioned above to run I have to use the --properties argument rather than --catalog if that is a useful distinction in how singer-discover is determining where to add the "selected" element.

@leo-schick
Copy link

@sziolko I am not sure if this problem still exists but if it does I guess the problem is behind tap-jira or tap-hubspot and not behind singer-discover. The selected property should be used in the metadata section, not in the streams section according to the documentation. Older singer versions used it in the streams section.

I suggest to close this issue.

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

No branches or pull requests

2 participants