Skip to content

'default_runtime_data_connector_name not found in batch_identifiers for the RuntimeDataConnector #6129

Discussion options

You must be logged in to vote

@austiezr

Here was the solution. The code was looking for batch identifiers for the assets defined in the data connector rather than during runtime. The asset config defined in the data connector was overriding anything defined in runtime, which was throwing the exception above.

TLDR; remove the asset config defined in the data connector yaml

great_expectations.yaml

      default_runtime_data_connector_name:
        class_name: RuntimeDataConnector
        batch_identifiers:
          - runtime_batch_identifier_name

flow.py

        validations = {
            "validations": [
                {
                    "batch_request": {
                        "datasource_name": "local_data",…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AFineDayFor
Comment options

Answer selected by AFineDayFor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
Converted from issue

This discussion was converted from issue #6120 on October 03, 2022 15:11.