Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[source-airtable] ValueError: Invalid Airbyte data type: datetime fires after #49813 merge #52576

Closed
1 task
Audace opened this issue Jan 27, 2025 · 3 comments
Closed
1 task

Comments

@Audace
Copy link

Audace commented Jan 27, 2025

Connector Name

source-airtable

Connector Version

4.5.0-rc.1

What step the error happened?

During the sync

Relevant information

This started this morning and it looks like the timestamps overlapped with #49813

Relevant log output

launch(source, _args)
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 341, in launch
    for message in source_entrypoint.run(parsed_args):
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 163, in run
    yield from map(
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 230, in discover
    catalog = self.source.discover(self.logger, config)
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py", line 158, in discover
    concurrent_streams, synchronous_streams = self._group_streams(config=config)
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py", line 272, in _group_streams
    declarative_stream.get_json_schema(),
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/declarative_stream.py", line 161, in get_json_schema
    return self._schema_loader.get_json_schema()
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py", line 148, in get_json_schema
    value = self._get_type(
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py", line 216, in _get_type
    return self._resolve_complex_type(mapped_field_type)
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py", line 229, in _resolve_complex_type
    self._get_airbyte_type(complex_type.items)
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py", line 262, in _get_airbyte_type
    raise ValueError(f"Invalid Airbyte data type: {field_type}")
ValueError: Invalid Airbyte data type: datetime

Contribute

  • Yes, I want to contribute
@marcosmarxm
Copy link
Member

@darynaishchenko can you check this issue?

@darynaishchenko
Copy link
Collaborator

darynaishchenko commented Jan 28, 2025

@marcosmarxm, have a pr #52595 for this one

@darynaishchenko
Copy link
Collaborator

@Audace I updated your connection to v4.4.0, now it should be stable and you can continue sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants