Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

issue with query record processor in nifi

avatar
New Member

Hi

I am using below query in query record processor for flow files which are json based , But the casecount column is not displaying in resultant flowfiles

SELECT caseid, projectshortname,COUNT(caseid) as casecount FROM FLOWFILE GROUP BY caseid,projectshortname ORDER BY caseid DESC LIMIT 1

Please advice me on this issue

1 ACCEPTED SOLUTION

avatar
Master Guru
@Suresh Dendukuri

In Record Writer controller service of QueryRecord processor make sure you are having casecount name defined with the datatype associated with it.

View solution in original post

2 REPLIES 2

avatar
Master Guru
@Suresh Dendukuri

In Record Writer controller service of QueryRecord processor make sure you are having casecount name defined with the datatype associated with it.

avatar
New Member

Thanks .. I will check the same