added support for "query" job