npawar commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1104651184

   @Airliquide76 I couldn't reproduce the recursion issue, I tried with 0.10.0 
and also with master.
   
   If you're good with 0.10.0, then the only issue is with the filterConfig, 
and for that, the problem is that Groovy doesn't like "." in variable names. So 
you'll have to change the name of "regulartime.id" to something else. This is 
what worked for me:
   ```
   "filterConfig":{ "filterFunction": "Groovy({regulartimeId == null }, 
regulartimeId)" },
   ```
   and for this I had to change in schema too 
   ```
      {
         "dataType": "STRING",
         "name": "regulartimeId",
         "singleValueField": true
       },
   ```
   and also in table config
   ```
   {
         "columnName": "regulartimeId",
         "transformFunction": "\"data.attributes.regularTimes.id\""
       },
   ```
   


-- 
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

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