diogobaeder opened a new issue, #8805:
URL: https://github.com/apache/pinot/issues/8805

   Hi folks,
   
   This seems to be a bug to me, so I'm opening an issue here right away 
(instead of bringing this to Slack first).
   
   What I want to do is to be able to run a batch job that uses just one file 
as the input; Suppose that I have a directory, `/some/dir`, and then I have a 
segment data file there, `foo.json`. So I have `inputDirURI` set to 
`/some/dir`. But then, if I set `includeFileNamePattern` to any of:
   * `regex:foo.json`
   * `regex:foo\.json`
   * `glob:foo.json`
   * `glob:*/foo.json`
   
   neither of them work.
   
   The only way I can ever get this to work is by using `glob:**/foo.json`, 
which is counter-intuitive and probably inefficient - I really only need to 
process one file per batch in my case. Sure, it works, but I think this has 
some room for improvement, right? Or maybe there should at least be an 
alternative like `file:foo.json`?
   
   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to