Re: Nulls in input data throwing exceptions when using QueryRecord

2018-11-12 Thread Mandeep Gill
Hi Mark, Thank you for your quick response to the issue and PR fixing the null issue with a single projection! Re #1 - I've attached a template exported from NiFi 1.8.0 that demonstrates the issue. Re #4 - I see, yes I'm not sure the correct behaviour here myself. I think if you're working with

Re: Nulls in input data throwing exceptions when using QueryRecord

2018-11-09 Thread Mark Payne
Mandeep, Thanks for reporting these! I put up a JIRA [1] that covers the cases #2 and #4, and a Pull Request to address it. I was not able to replicate #1. The result that I got back was [{"world": "hello"}] - which is what I expect. Perhaps you can share a template that shows your

Re: Nulls in input data throwing exceptions when using QueryRecord

2018-11-09 Thread Mandeep Gill
Hi there, Thanks so much for your help and the quick turnaround! Can confirm that the patch works well and resolves the main issues we were hitting with nulls. We have been hitting a few more issues with QueryProcessor that I've listed below - there's a couple and I'm happy to create bug reports

Re: Nulls in input data throwing exceptions when using QueryRecord

2018-11-08 Thread Pierre Villard
Hi Mandeep, Thanks for reporting this issue! Koji filed the JIRA [1] and submitted a PR for it [2]. I just merged it into master and it will be released with NiFi 1.9.0. You can also build the standard processors NAR from the master branch if you need the fix quickly. [1]

Re: Nulls in input data throwing exceptions when using QueryRecord

2018-11-08 Thread Koji Kawamura
Hi Mandeep, Thanks for reporting the issue and detailed explanation. That's very helpful! I was able to reproduce the issue and found a possible solution. Filed a JIRA, a PR will be submitted shortly to fix it. https://issues.apache.org/jira/browse/NIFI-5802 Thanks, Koji On Wed, Nov 7, 2018 at