# Experimental ExpectQueriedCustomQueryToReturnNumRows

**URL:** <https://discourse.greatexpectations.io/t/experimental-expectqueriedcustomquerytoreturnnumrows/1946>\
**Category:** GX Core Support\
**Created:** [October 11, 2024, 5:45pm UTC](https://discourse.greatexpectations.io/t/experimental-expectqueriedcustomquerytoreturnnumrows/1946 "2024-10-11T17:45:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hg.inn](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@hg.inn](https://discourse.greatexpectations.io/u/hg.inn)\
**Post date:** [October 11, 2024, 5:45pm UTC](https://discourse.greatexpectations.io/t/experimental-expectqueriedcustomquerytoreturnnumrows/1946/1 "2024-10-11T17:45:35Z")

</div>

Hello,

Could you please provide an example how to use this expectation and if it is compatible with c1.1.\*?

Thanks

---

<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:** [October 16, 2024, 7:49pm UTC](https://discourse.greatexpectations.io/t/experimental-expectqueriedcustomquerytoreturnnumrows/1946/2 "2024-10-16T19:49:25Z")

</div>

Unfortunately, i do not have an example available of how to use this expectation as the  
creators: [1](https://github.com/mantasmy) and [2](https://github.com/itaise) did not provide an example. Maybe you can reach out to them for additional assistance.

Regarding compatibility, because it is listed under our legacy gallery, it is not compatible in any 1.x version
