Closed
Description
Connector Name
source-s3
Connector Version
4.2.0
What step the error happened?
Configuring a new connector
Relevant information
The connector no longer honors '\t' (tab
) into delimiter control of the configuration user interface. This was previously addressed in a workaround pull request #9163. When configuring the connector for TSV files:
- Documentation insists on use of a two character sequence \t
- UI Configuration modal accepts a two character sequence \t
- JSON-serialized configuration states the delimiter is serialized as a string "\t"
- An attempt to test configuration fails with error "Configuration check failed Something went wrong in the connector. See the logs for more details."
check_connection_source-failure-e1256f04-27d5-4218-9ad2-3b789e07be1e.txt
- Integration tests do not feature tab-separated files as use cases
Relevant log output
unexpected value; permitted: 'parquet' (type=value_error.const; given=csv; permitted=['parquet'])
streams -> 2 -> format -> filetype
unexpected value; permitted: 'unstructured' (type=value_error.const; given=csv; permitted=['unstructured'])
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/airbyte/integration_code/main.py", line 42, in <module>
launch(source, _args)
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py", line 209, in launch
for message in source_entrypoint.run(parsed_args):
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py", line 109, in run
yield from map(AirbyteEntrypoint.airbyte_message_to_string, self.check(source_spec, config))
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py", line 133, in check
check_result = self.source.check(self.logger, config)
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/abstract_source.py", line 82, in check
check_succeeded, error = self.check_connection(logger, config)
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/file_based/file_based_source.py", line 63, in check_connection
streams = self.streams(config)
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/file_based/file_based_source.py", line 114, in streams
raise ConfigValidationError(FileBasedSourceError.CONFIG_VALIDATION_ERROR) from exc
airbyte_cdk.sources.file_based.exceptions.ConfigValidationError: Error creating stream config object. Contact Support if you need assistance.
Contribute
- Yes, I want to contribute
### Tasks