Re: [SS] Bug in StreamExecution? currentBatchId and getBatchDescriptionString for web UI

2017-09-10 Thread Jacek Laskowski
Hi, Please disregard my finding. It does not seem a bug, but just a small "dead code" as "init" will never be displayed in web UI = the minimum batch id can ever be 0 and so getBatchDescriptionString could be a little "improved". Sorry for the noise. Pozdrawiam, Jacek Laskowski https://abou

[SS] Bug in StreamExecution? currentBatchId and getBatchDescriptionString for web UI

2017-09-09 Thread Jacek Laskowski
Hi, While reviewing StreamExecution and how batches are displayed in web UI, I've noticed that currentBatchId is -1 when StreamExecution is created [1] and becomes 0 when no offsets are available [2]. That leads to my question about setting the job description for a query using getBatchDescriptio