Example of BigQuery schema ingestion using Python in DataHub repository

Original Slack Thread

<@U06TM7M40RK>, can you point me to any example for big query schema ingestion python sample?

To ingest BigQuery schema metadata using Python, you can refer to the example provided in the <https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/src/datahub/ingestion/source/bigquery_v2/bigquery_schema_gen.py|DataHub GitHub repository>. This file contains code related to generating schema metadata for BigQuery datasets.

Additionally, you can check the https://github.com/datahub-project/datahub/issues/5445|metadata-ingestion/examples/library/dataset_schema.py in the DataHub repository, which provides an example of how to send schema metadata using the Python Emitter.

Would you like more detailed guidance on how to use these examples for your specific use case?

Sources:

Hi <@U0820C0EXBQ>, how did my answer work out for you? Need any more assistance? You can also tag <@U07FV3UHE4D> to let your fellow community members know you’re still looking for guidance.

Hi :slight_smile: ! Did this interaction resolve your issue or do you still require assistance ?

Please tag @ RunLLM if you still need further assistance !

Or tag @Datahub Community Support if you require a person to take a look :slight_smile:

Hope this helps ! ><