BigQuery Metadata Ingestion Issue #17951
-
BackgroundI'm following the OpenMetadata documentation to perform external ingestion from my client's BigQuery instance. I'm using default Application Default Credentials (ADC) and can successfully ingest metadata into OpenMetadata when the BigQuery table is in the default project. GoalI want to ingest metadata from a different project: gdw-prod-data. I've verified that the default ADC account can access the table schema and related information in this project. Configurationsource:
type: bigquery
serviceName: bigquery-poc
serviceConnection:
config:
type: BigQuery
credentials:
gcpConfig: {}
sourceConfig:
config:
type: DatabaseMetadata
markDeletedTables: true
markDeletedStoredProcedures: true
includeTables: true
includeViews: true
databaseFilterPattern:
includes:
- gdw-prod-data
schemaFilterPattern:
includes:
-
sink:
type: metadata-rest
config: {}
workflowConfig:
loggerLevel: DEBUG
openMetadataServerConfig:
hostPort: "https://{my host}/api"
authProvider: openmetadata
securityConfig:
jwtToken: "xxxx"
storeServiceConnection: true IssueIn the ingestion logs, I noticed that the Fully Qualified Name (FQN) is different from what I expected:
Log Snippet
QuestionHow can I modify my configuration to ensure that the metadata is ingested from the correct project (gdw-prod-data) and the FQN reflects this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Under the database filter you can add the pattern of database which you want to include in the ingestion. In your case you can refer the below
|
Beta Was this translation helpful? Give feedback.
@mtseafood The Ingestion would require the permission for Default Credentials for Ingestion to work. You can use multiple project ids but the mentioned requirements need to in place for the ingestion.
BigQuery Requirements