It will be really helpful if we can filter out part of query string from page path dimension.
This doesn't mean that filter out pagePath dimension having query string.
The actual query should return feed recalculated based on pagePath dimension values which are filtered out own query string.
i.e.,
ga:pagePath : /page/my?to=234&from=222 , ga:pageviews = 10
ga:pagePath : /page/my , ga:pageviews = 20
ga:pagePath : /page/my?token=ksdfl2 , ga:pageviews = 7
It would be expected that /page/my with ga:pageviews = 37