chintan_patel
07/28/2023, 9:14 AMAndy Carter
07/28/2023, 9:24 AMchintan_patel
07/28/2023, 9:26 AMvisch
07/28/2023, 12:06 PMselect
itself works to allow you to select / deselect fields in the tap.
Which gets to @Andy Carterās point, what's your purpose of overriding the schema? Maybe it's a feature that is / isn't supported by the tap maybe it is but it all depends on the purpose of what you're doing
You can definitely override the schema here https://docs.meltano.com/concepts/plugins#schema-extrachintan_patel
07/28/2023, 12:19 PMchintan_patel
07/28/2023, 12:22 PMvisch
07/28/2023, 12:23 PMdelimited_override_headers
worked for you here?chintan_patel
07/28/2023, 12:24 PMvisch
07/28/2023, 12:24 PMvisch
07/28/2023, 12:25 PMjsonl
file so we're talking about the jsonl_sampling_strategy
configuration here.chintan_patel
07/28/2023, 12:25 PMvisch
07/28/2023, 12:25 PMvisch
07/28/2023, 12:27 PMjsonl_sampling_strategy
in a way that made a lot of sense.
@chintan_patel you're pulling in multiple jsonl files with the same schema right? So you want to provide a schema that these files adhere to?chintan_patel
07/28/2023, 12:27 PMchintan_patel
07/28/2023, 12:28 PMvisch
07/28/2023, 12:31 PMjsonl_sampling_strategy
could support all
which would sample the whole file using something like https://github.com/wolverdude/GenSON and auto fill the json
Then for jsonl_type_coercion_strategy
would fit into this as well. Hmmm
The hack we have right now is to use jsonl_type_coercion_strategy
and then use envelope
or any
depending on what you're after. envelope will put everything in a record object you can expand in your target.
I don't love it.
Sounds like for you, it'd be much better if we sampled everything with genson and provided a schema. Or if you could provide your own schema mappings for the filevisch
07/28/2023, 12:33 PMjsonl_sampling_strategy
of all
, Also add a config of jsonl_type_coercion_strategy
of detect
(I think or something similar)
Not clear how we'd want to provide the manual override let me think.chintan_patel
07/28/2023, 12:34 PMvisch
07/28/2023, 12:35 PMchintan_patel
07/31/2023, 6:17 AM