I'm confused about how to use input plugins like onyx-sql. They don't seem to allow for a job to query arbitrary data from the database; they seem more oriented toward pulling work from a queue in a fixed table. What is the correct way to do ad-hoc queries in input tasks to produce the segments for a job?