modifying siddhi query writer