# Issue with Adding Multiple Expectations for a Single Column

**URL:** <https://discourse.greatexpectations.io/t/issue-with-adding-multiple-expectations-for-a-single-column/2037>\
**Category:** GX Core Support\
**Created:** [December 19, 2024, 4:32pm UTC](https://discourse.greatexpectations.io/t/issue-with-adding-multiple-expectations-for-a-single-column/2037 "2024-12-19T16:32:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbdev](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@tbdev](https://discourse.greatexpectations.io/u/tbdev)\
**Post date:** [December 19, 2024, 4:32pm UTC](https://discourse.greatexpectations.io/t/issue-with-adding-multiple-expectations-for-a-single-column/2037/1 "2024-12-19T16:32:29Z")

</div>

Hi everyone,

I’m encountering an issue when trying to add multiple expectations for a single column in my Great Expectations suite. Specifically, when I add a new expectation for the column `my_col`, only the first expectation is considered, and the subsequent ones are ignored.  
here is how i defined the suite and expectations:

suite\_name = “suite\_name”  
suite = ge.ExpectationSuite(suite\_name)  
suite = context.suites.add(suite)  
suite.add\_expectation(ge.expectations.ExpectColumnValuesToNotBeNull(column=‘myCol’))  
suite.add\_expectation(ge.expectations.ExpectColumnValuesToBeUnique(column=‘myCol’))  
vd = ge.ValidationDefinition(  
name=“my\_vd”,  
data=batch,  
suite=suite,  
)  
checkpoint = ge.Checkpoint(  
name=“my\_checkpoint”,  
validation\_definitions=[vd],  
actions=[ge.checkpoint.UpdateDataDocsAction(name=“update\_data\_docs”)]  
)  
context.validation\_definitions.add(vd)  
context.checkpoints.add(checkpoint)  
results = checkpoint.run(batch\_parameters={“dataframe”: df})

---

<div class="post-metadata">

**Author:** ![adeola](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@adeola](https://discourse.greatexpectations.io/u/adeola)\
**Post date:** [January 28, 2025, 5:57pm UTC](https://discourse.greatexpectations.io/t/issue-with-adding-multiple-expectations-for-a-single-column/2037/2 "2025-01-28T17:57:26Z")

</div>

hi there, this should be fixed in out latest version, 1.3.2, please let me know if you are still experiencing this issue

---

<div class="post-metadata">

**Author:** ![tbdev](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@tbdev](https://discourse.greatexpectations.io/u/tbdev)\
**Post date:** [January 29, 2025, 2:24pm UTC](https://discourse.greatexpectations.io/t/issue-with-adding-multiple-expectations-for-a-single-column/2037/3 "2025-01-29T14:24:39Z")

</div>

Hi , i’m always experiencing the same issue even with the 1.3.2 version, only the first expectations is considered when i add two or more expectations for a same column.

---

<div class="post-metadata">

**Author:** ![bluink](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@bluink](https://discourse.greatexpectations.io/u/bluink)\
**Post date:** [February 6, 2025, 3:49pm UTC](https://discourse.greatexpectations.io/t/issue-with-adding-multiple-expectations-for-a-single-column/2037/4 "2025-02-06T15:49:03Z")

</div>

I don’t know if could be an interesting test but you can try to switch the order of your expectations in the expectation suite and execute the checkpoint (or a validation definition). Hope it helps 🤞

---

<div class="post-metadata">

**Author:** ![adeola](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@adeola](https://discourse.greatexpectations.io/u/adeola)\
**Post date:** [February 12, 2025, 6:34pm UTC](https://discourse.greatexpectations.io/t/issue-with-adding-multiple-expectations-for-a-single-column/2037/6 "2025-02-12T18:34:04Z")

</div>

without sharing your script or environment, I’m not able further look into what could be causing the issue but the issue the original poster was facing sounded like an issue in which a few differing expectations where being evaluated as the same expectations, thus not being evaluated, but this has since been resolved.
