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?
Please continue to tag RunLLM (e.g <@U06TM7M40RK>) to have it continue generating responses! 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 and to help us improve the assistant!
The error message extra fields not permitted (type=value_error.extra) indicates that the platform_instance field is not recognized in the powerbi-report-server source configuration. This suggests that the platform_instance parameter is not supported for this source type.
Here are the steps to resolve this issue:
Remove the platform_instance Field: Since the platform_instance field is not supported, you should remove it from your configuration.
Verify Other Configuration Parameters: Ensure that all other parameters are correctly set according to the <PowerBI | DataHub Report Server Ingestion Documentation>.
Here is the updated ingestion recipe without the platform_instance field:
To add a platform instance in DataHub, you need to ensure that the ingestion source you are using supports the platform_instance parameter. Based on the provided data sources, the powerbi-report-server source does not support the platform_instance parameter, which is why you encountered the error.
However, for sources that do support platform_instance, you can follow these general steps:
Specify the platform_instance in the Ingestion Recipe: Add the platform_instance parameter to the source configuration in your ingestion recipe.
Verify the Configuration: Ensure that the platform_instance is correctly specified and that the source supports this parameter.
Here is an example of how to configure a source that supports platform_instance, such as mysql:
source:
type: mysql
config:
host_port: localhost:3306
platform_instance: core_finance
database: dbname
username: root
password: example
sink:
type: datahub-rest
config:
server: 'http://localhost:8080'
If you need to add a platform instance to a container manually, you can use the MetadataChangeProposalWrapper to associate the container with a platform instance. Here is an example in Python: