bartek_grasza
10/26/2022, 12:10 PMselect parameters in meltano.yml file.
First I’m not filtering out any streams/columns. All attributes are [selected] :
meltano select tap-redshift --list --all
Legend:
selected
excluded
automatic
Enabled patterns:
*.*
Selected attributes:
[selected ] dev.meetings.meeting_complete_pattern_users.pattern_id
[selected ] dev.meetings.meeting_complete_pattern_users.user_id
[ ... meeting_complete_pattern_users - other columns ... ]
[selected ] dev.meetings.meeting_topic_stats_aggregated.avg_negative
[selected ] dev.meetings.meeting_topic_stats_aggregated.avg_positive
[ ... meeting_topic_stats_aggregated - other columns ... ]
When I issue command: meltano --environment=local-redshift elt tap-mongodb target-redshift --transform skip
data is properly copied from source to target.
But then I try to select only single table. In my yaml I’ve tried (one by one) following attributes:
select:
- 'meeting_topic_stats_aggregated.*'
- 'meetings.meeting_topic_stats_aggregated.*'
- 'dev.meetings.meeting_topic_stats_aggregated.*'
- '*.meetings.meeting_topic_stats_aggregated.*'
- '*.meeting_topic_stats_aggregated.*'
but none of them works. Meaning, all streams/columns end up on the [excluded ] list.
What I find weird is that meltano sees attributes like this:
[selected ] dev.meetings.meeting_attendees_stats.attendee
so with the dev. prefix, which is the name of my Redshift database. Maybe that is the problem?
Following is my tap config in `meltano.yml`:
- name: tap-redshift
variant: monad-inc
pip_url: git+<https://github.com/Monad-Inc/tap-redshift.git>
config:
host: <AWS resource>
user: <user>
port: 5439
dbname: dev
schema: meetings
capabilities:
- catalog
- discover
- manifest
Any ideas why these “filters” aren’t working?visch
10/26/2022, 12:20 PMmeltano run / meltano invoke / meltano elt ? I ask becuase I wonder if you're hitting https://github.com/meltano/meltano/issues/6763
An easy way to try to see if you are hitting this issue is to run rm -rf .meltano/runbartek_grasza
10/26/2022, 12:21 PMmeltano eltvisch
10/26/2022, 12:21 PMbartek_grasza
10/26/2022, 12:22 PM./tap-redshift/tap.properties.json and trying againbartek_grasza
10/26/2022, 12:22 PMrun catalogbartek_grasza
10/26/2022, 12:27 PM*meeting_topic_stats_aggregated.*visch
10/26/2022, 12:28 PMbartek_grasza
10/26/2022, 12:33 PM*meeting_topic_stats_aggregated.* - works
• *.meeting_topic_stats_aggregated.* - does not work
I assumed they are the same but apparently they are not.jean_sahlberg
10/26/2022, 2:07 PMdev-meeting_topic_stats_aggregated.* ?edgar_ramirez_mondragon
10/26/2022, 2:09 PMbartek_grasza
10/26/2022, 4:25 PM