boggdan_barrientos
10/08/2021, 3:37 PMtap-s3-csv
variant fishtown analytics
The variant shows an interesting configuration of modified the headers that's whats I need so thats why I'm trying to use it. When I run elt
or invoke
I'm getting the below error.
Catalog discovery failed: command ['/meltano-project/.meltano/extractors/tap-s3-csv-fa/venv/bin/tap-s3-csv', '--config', '/meltano-project/.meltano/run/tap-s3-csv-fa/tap.fe4d1544-bc99-42fb-b46f-25326b7034b1.config.json', '--discover'] returned 2
https://github.com/dbt-labs/tap-s3-csvboggdan_barrientos
10/08/2021, 3:41 PMboggdan_barrientos
10/08/2021, 3:41 PMboggdan_barrientos
10/08/2021, 3:41 PM-log-level=debug
shows:taylor
10/08/2021, 3:43 PMboggdan_barrientos
10/08/2021, 3:47 PMtaylor
10/08/2021, 3:48 PMtaylor
10/08/2021, 3:49 PMboggdan_barrientos
10/08/2021, 4:00 PMtap-s3-csv
, with my team did some change to the tap, because was not syncing and then worked. But I want to change the header name because not all my files have headers.
I changed the type with schema
extra of meltano, I tried to change the name attribute but is stays in stand by.
So I'm trying this variant fishtown analytics
, in the description mentioned that it could change via the configuration.taylor
10/08/2021, 4:03 PM// if the files don't have a header row, you can specify the field names
taylor
10/08/2021, 4:04 PMedgar_ramirez_mondragon
10/08/2021, 4:04 PMdiscover
from the tap's capabilities but did you also remove catalog
?boggdan_barrientos
10/08/2021, 4:15 PMedgar_ramirez_mondragon
10/08/2021, 4:27 PMboggdan_barrientos
10/08/2021, 5:03 PM--log-level=catalag
``` DEBUG ELT could not be completed: Cannot start extractor: Applying catalog rules failed: catalog file is missing.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/meltano/core/plugin/singer/tap.py", line 412, in apply_catalog_rules
with catalog_path.open() as catalog_file:
File "/usr/local/lib/python3.6/pathlib.py", line 1183, in open
opener=self._opener)
File "/usr/local/lib/python3.6/pathlib.py", line 1037, in _opener
return self._accessor.open(self, flags, mode)
File "/usr/local/lib/python3.6/pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/meltano-project/.meltano/run/elt/2021-10-08T170102--tap-s3-csv-fa--target-redshift/e9a36cdb-8f08-41dc-84ef-f53d9176a4bf/tap.properties.json'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/meltano/core/runner/singer.py", line 67, in invoke
stderr=asyncio.subprocess.PIPE, # Log
File "/usr/local/lib/python3.6/site-packages/meltano/core/plugin_invoker.py", line 275, in invoke_async
async with self._invoke(*args, **kwargs) as (
File "/usr/local/lib/python3.6/site-packages/async_generator/_util.py", line 34, in aenter
return await self._agen.asend(None)
File "/usr/local/lib/python3.6/site-packages/meltano/core/plugin_invoker.py", line 260, in _invoke
async with self.plugin.trigger_hooks("invoke", self, args):
File "/usr/local/lib/python3.6/site-packages/async_generator/_util.py", line 34, in aenter
return await self._agen.asend(None)
File "/usr/local/lib/python3.6/site-packages/meltano/core/behavior/hookable.py", line 87, in trigger_hooks
await self.class.trigger(self, f"before_{hook_name}", *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/meltano/core/behavior/hookable.py", line 115, in trigger
raise err
File "/usr/local/lib/python3.6/site-packages/meltano/core/behavior/hookable.py", line 107, in trigger
await hook_func(target, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/meltano/core/plugin/singer/tap.py", line 371, in apply_catalog_rules_hook
self.apply_catalog_rules(plugin_invoker, exec_args)
File "/usr/local/lib/python3.6/site-packages/meltano/core/plugin/singer/tap.py", line 435, in apply_catalog_rules
) from err
meltano.core.plugin.error.PluginExecutionError: Applying catalog rules failed: catalog file is missing.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/meltano/cli/elt.py", line 239, in _run_elt
await _run_extract_load(elt_context, output_logger)
File "/usr/local/lib/python3.6/site-packages/meltano/cli/elt.py", line 282, in _run_extract_load
loader_out=loader_out_writer,
File "/usr/local/lib/python3.6/site-packages/meltano/core/runner/singer.py", line 230, in run
loader_out=loader_out,
File "/usr/local/lib/python3.6/site-packages/meltano/core/runner/singer.py", line 70, in invoke
raise RunnerError(f"Cannot start extractor: {err}") from err
meltano.core.runner.RunnerError: Cannot start extractor: Applying catalog rules failed: catalog file is missing.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/meltano/cli/elt.py", line 227, in _redirect_output
yield
File "/usr/local/lib/python3.6/site-packages/meltano/cli/elt.py", line 248, in _run_elt
raise CliError(f"ELT could not be completed: {err}") from err
meltano.cli.utils.CliError: ELT could not be completed: Cannot start extractor: Applying catalog rules failed: catalog file is missing.
meltano | ELT could not be completed: Cannot start extractor: Applying catalog rules failed: …edgar_ramirez_mondragon
10/08/2021, 5:04 PMmetadata
and schema
overrides you may have added for that tapedgar_ramirez_mondragon
10/08/2021, 5:06 PMselect
, select_filter
tooboggdan_barrientos
10/08/2021, 7:19 PM','
So I'm modifying the tap itself to support other delimiters.boggdan_barrientos
10/08/2021, 8:37 PMedgar_ramirez_mondragon
10/08/2021, 8:43 PMtaylor
10/08/2021, 8:43 PM