https://meltano.com/ logo
#cli
Title
# cli
b

bumpy-dog-48208

05/14/2020, 2:03 PM
What am I missing here? I expected this field to be excluded based on the exclusion rule
r

ripe-musician-59933

05/15/2020, 8:45 PM
@bumpy-dog-48208 That's because of the field's
inclusion
value of
automatic
in the discovered catalog file. Per https://github.com/singer-io/getting-started/blob/master/docs/DISCOVERY_MODE.md#the-catalog:
available
means the field is available for selection, and the tap will only emit values for that field if it is marked with
"selected": true
.
automatic
means that the tap will emit values for the field.
Therefore, patterns defined with
meltano select
only apply to fields with
inclusion: available
, while those with
inclusion: automatic
are always included despite the rules
b

bumpy-dog-48208

05/15/2020, 8:55 PM
r

ripe-musician-59933

05/15/2020, 9:06 PM
@bumpy-dog-48208 Thanks!