We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! I'm trying to make PoC with pyairbyte and got some strange errors
Environment: Ubuntu 22, Python 3.11,
Errors
AirbyteSubprocessFailedError: Subprocess failed. Run Args: ['docker', 'run', '--rm', '-i', '--volume', '/home/aprytkov/test-airbyte/source-mysql:/local/', '--volume', '/tmp:/tmp', 'airbyte/source-mysql:latest', 'discover', '--config', '/tmp/tmp8hzu648g.json']
Here is my code
import airbyte as ab def main(): # connectors_list = ab.get_available_connectors() # print(f"Available connectors: {connectors_list}") source_name = 'source-mysql' mysql_source: ab.Source = ab.get_source(source_name, install_if_missing=True) # open mysql databse https://docs.rfam.org/en/latest/database.html mysql_source.set_config( config={ "host":"mysql-rfam-public.ebi.ac.uk", 'port': 4497, 'database': 'Rfam', 'username': 'rfamro', 'replication_method': { 'method': 'STANDARD' } } ) streams = mysql_source.get_available_streams() print('Streams') print(streams) destination_name = 'destination-duckdb' duckdb_destination: ab.Destination = ab.get_destination(destination_name, install_if_missing=True) print(duckdb_destination.docs_url) duckdb_destination.set_config( config={ 'destination_path': 'db.duckdb' } ) result = mysql_source.read(streams=['family','clan']) duckdb_destination.write(result) print("Load complete") if __name__ == "__main__": main()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! I'm trying to make PoC with pyairbyte and got some strange errors
Environment: Ubuntu 22, Python 3.11,
Errors
Here is my code
The text was updated successfully, but these errors were encountered: