<@U06TM7M40RK> Can you please give an example of a GraphQL query - updateIngestionSource
To update an ingestion source using the GraphQL API, you can use the updateIngestionSource
mutation. This mutation requires the urn
of the ingestion source you want to update and the input parameters for the update.
Here is an example of how you can structure the GraphQL query to update an ingestion source:
mutation {
updateIngestionSource(
urn: "urn:li:dataHubIngestionSource:example-urn",
input: {
name: "Updated Ingestion Source Name",
type: "mysql",
description: "Updated description for the ingestion source",
schedule: {
interval: "*/10 * * * *",
timezone: "UTC"
},
config: {
recipe: "{\"source\":{\"type\":\"mysql\",\"config\":{\"include_tables\":true,\"database\":null,\"password\":\"${MYSQL_PASSWORD}\",\"profiling\":{\"enabled\":false},\"host_port\":null,\"include_views\":true,\"username\":\"${MYSQL_USERNAME}\"}},\"pipeline_name\":\"urn:li:dataHubIngestionSource:example-urn\"}",
version: "0.8.18",
executorId: "updatedExecutorId",
debugMode: false,
extraArgs: []
}
}
) {
urn
}
}
In this example:
- The
urn
parameter specifies the unique identifier of the ingestion source you want to update. - The
input
parameter contains the updated details for the ingestion source, including the name, type, description, schedule, and configuration.
Would you like more detailed guidance on setting up this GraphQL query or any additional information?
Sources:
- <https://github.com/datahub-project/datahub/blob/master/docs/ui-ingestion.md|UI Ingestion Documentation>
0 button
0 button
Hint: Mention @runllm in the thread for followups.
Hey there! Make sure your message includes the following information if relevant, so we can help more effectively!
- Are you using UI or CLI for ingestion?
- Which DataHub version are you using? (e.g. 0.12.0)
- What data source(s) are you integrating with DataHub? (e.g. BigQuery)
<@U06TM7M40RK> Can you help with the questions in this thread?
We’re experimenting with a new AI assistant for questions in the <#CUMUWQU66> channel to help you track down helpful resources more quickly. Keep in mind that responses may not always be spot-on; feel free to ask it follow-up questions and don’t forget to provide its responses a
or
so other folks in the Community know if you’re still looking for help on the topic!
Sure, I’d be happy to help! To assist you more effectively, could you please provide the following information:
- Are you using the UI or CLI for ingestion?
- Which DataHub version are you using? (e.g., 0.12.0)?
- What data source(s) are you integrating with DataHub (e.g., BigQuery)?
This information will help me provide you with the most relevant guidance and resources.
Sources:
- https://datahubproject.io/docs/0.13.1/quick-ingestion-guides/bigquery/configuration|https://datahubproject.io/docs/0.13.1/quick-ingestion-guides/bigquery/configuration
- https://datahubproject.io/docs/0.13.1/quick-ingestion-guides/powerbi/configuration|https://datahubproject.io/docs/0.13.1/quick-ingestion-guides/powerbi/configuration
0 button
0 button
Hint: Mention @runllm in the thread for followups.
<@U06TM7M40RK> Can I somehow massively change the parameters in the recipes for the incest?
Sure thing! I’m looking through the available data to answer your question. Hold on a second…
<@U06TM7M40RK> Can I somehow massively change the parameters in the recipes for the ingest?