emcp
10/27/2021, 6:28 PMselect
- name: tap-ibkr-news
select:
- ib_news
namespace: tap_ibkr
executable: /home/ubuntu/stonks-tap-ibkr/tap-ibkr/tap-ibkr.sh
config:
host_tws_thrift: 1.2.3.4
tws_thrift_port: 9090
but when I goto invoke tap-ibkr-news
.. I get both streams..
I went through the academy example of creating a tap.. but it didn't really show.. once you have two streams.. how to invoke only 1
I am now wondering.. must I add the logic in my tap? in order to make these select
statements work?? or is my select
statement wrong?
I've tried
select:
- ib_news
select:
- ib_news.*
emcp
10/27/2021, 6:30 PMemcp
10/27/2021, 6:33 PMselect
but it says stream mapping happens after all that logic so.. I will keep looking..visch
10/27/2021, 6:46 PMmeltano.yml
with the selects in place?
Then run meltano select --list tap-name
and show the output 😄emcp
10/27/2021, 6:49 PMemcp
10/27/2021, 6:50 PMemcp
10/27/2021, 6:51 PMubuntu@juju-2dd159-248:~/meltano_proj_repo$ meltano select --list tap-ibkr-news
Cannot list the selected attributes: Could not find catalog. Verify that the tap supports discovery mode and advertises the `discover` capability as well as either `catalog` or `properties`
emcp
10/27/2021, 6:51 PMemcp
10/27/2021, 6:52 PMplugins:
extractors:
- name: tap-ibkr
namespace: tap_ibkr
executable: ./tap-ibkr.sh
capabilities:
- state
- catalog
- discover
config:
host_tws_thrift: 10.1.2.3
tws_thrift_port: 0000
target_host: 10.1.2.3
target_username: some_user
target_password: 1234
settings:
- name: username
emcp
10/27/2021, 6:53 PMdiscover
and catalog
... I think i next need to experiment with implementing
https://sdk.meltano.com/en/latest/classes/singer_sdk.Stream.html#singer_sdk.Stream.apply_catalogemcp
10/27/2021, 6:54 PMvisch
10/27/2021, 6:54 PMedgar_ramirez_mondragon
10/27/2021, 6:54 PMI think i next need to experiment with implementingYou shouldn't need to override the implementation of
apply_catalog
emcp
10/27/2021, 6:57 PMubuntu@juju-2dd159-248:~/meltano_proj_repo$ meltano select --list tap-csv
Legend:
selected
excluded
automatic
Enabled patterns:
*.*
Selected attributes:
Once I sort of get that.. then perhaps I will just review the code that enabled that csv tapemcp
10/27/2021, 6:58 PMclient.py
. I was afraid before that they were on a older singer specvisch
10/27/2021, 9:55 PMemcp
10/28/2021, 6:49 AMtap-gitlab
.. which seems to have loads of logic in each stream checking if it's selected etc.emcp
10/28/2021, 6:50 AMget_records
.. but it shows each time that both streams return true
when calling self.selected
emcp
10/28/2021, 6:51 AMvisch
10/28/2021, 12:41 PMemcp
10/28/2021, 3:33 PM