I'm dynamically generating sql queries based on time range provided. My query module doesn't know if data exist on particular path or not. In case drill encounters empty directory it fails the scan showing parse error. Is it expected behavior? Shouldn't it result into no records found?
Also Can I specify file type to consider for scan when I'm querying top level directory?