Add possibility to partition result table