[6.x] Fix refresh()
to support AsPivot
trait
#32420
Merged
refresh()
to support AsPivot
trait
#32420