Tpch Query Implementatation - pass query args to stateQuery --bug fix