Starting to use queries in streaming