Closed Ranji-1712 closed 1 month ago
Hi @Ranji-1712 can you please attach your code so that we can replicate your situation?
@HaebichanGX There is no much code . Im just defining the great_expectations.yml as mentioned above , expectation suite and checkpoint . Then calling the checkpoint run operation
@HaebichanGX This how i execute the checkpoint defined above
import great_expectations as gx
from great_expectations.core.batch import Batch, BatchRequest, RuntimeBatchRequest
# context = gx.get_context()
context = gx.get_context(
context_root_dir='/Users/ranjith.kannusamy/Automation/github/dp-qa-great-expectations/great_expectations/'
)
# context
checkpoint_name = 'validation_checkpoint'
checkpoint = context.get_checkpoint(name=checkpoint_name)
checkpoint
checkpoint_result = context.run_checkpoint(checkpoint_name=checkpoint_name)
Great thank you for sharing, it's good to have all the information. I have put this in our backlog to get it reviewed. Thank you!
Any update in the above problem.? Facing the same issues.
Hello @Ranji-1712. With the upcoming launch of Great Expectations Core (GX 1.0), we are closing old issues posted regarding previous versions. Moving forward, we will focus our resources on supporting and improving GX Core (version 1.0 and beyond). If you find that an issue you previously reported still exists in GX Core, we encourage you to resubmit it against the new version. With more resources dedicated to community support, we aim to tackle new issues swiftly. For specific details on what is GX-supported vs community-supported, you can reference our integration and support policy.
To get started on your transition to GX Core, check out the GX Core quickstart (click “Full example code” tab to see a code example).
You can also join our upcoming community meeting on August 28th at 9am PT (noon ET / 4pm UTC) for a comprehensive rundown of everything GX Core, plus Q&A as time permits. Go to https://greatexpectations.io/meetup and click “follow calendar” to follow the GX community calendar.
Thank you for being part of the GX community and thank you for submitting this issue. We're excited about this new chapter and look forward to your feedback on GX Core. 🤗
Describe the bug In the checkpoint configuration (like below) , when passing the query parameter which is configured in the sqlalchemy_query_store to the evaluation parameter and also calling the same in the expectation suite (added below) . While running the checkpoint instead of the query results the parameter value is passed as it is to the validation .
Checkpoint Config:
Expectation Suite with Parameter defined in checkpoint
Stores Config from great_expectations.yml file :
Error :
Must have exactly {‘$PARAMETER’: ‘urn:great_expectations:stores:sqlalchemy_query_store:source_count’} rows
great_expectations.yml config
Expected behavior Instead of the passing the same URN parameter defined in the evaluation parameter , expected to pass the respective query results during the checkpoint run / validation
Environment (please complete the following information):