# Issue with returnSize for system.historian.queryRawPoints()

**URL:** <https://forum.inductiveautomation.com/t/issue-with-returnsize-for-system-historian-queryrawpoints/112112>\
**Category:** Ignition\
**Tags:** ignition83\
**Created:** [November 11, 2025, 9:13pm UTC](https://forum.inductiveautomation.com/t/issue-with-returnsize-for-system-historian-queryrawpoints/112112 "2025-11-11T21:13:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rberghammer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rberghammer/32/7150_2.png) [@rberghammer](https://forum.inductiveautomation.com/u/rberghammer)\
**Post date:** [November 11, 2025, 9:13pm UTC](https://forum.inductiveautomation.com/t/issue-with-returnsize-for-system-historian-queryrawpoints/112112/1 "2025-11-11T21:13:36Z")

</div>

The manual says returnSize parameter for system.historian.queryRawPoints() is “The maximum number of results to return”. When I set returnSize to anything greater than 0, the function returns an empty dataset.

---

<div class="post-metadata">

**Author:** ![rberghammer](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rberghammer/32/7150_2.png) [@rberghammer](https://forum.inductiveautomation.com/u/rberghammer)\
**Post date:** [November 17, 2025, 8:29pm UTC](https://forum.inductiveautomation.com/t/issue-with-returnsize-for-system-historian-queryrawpoints/112112/2 "2025-11-17T20:29:11Z")

</div>

Also, the columnNames parameter doesn’t work for queryRawPoints() or queryAggregatedPoints().
