You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/04/15 12:49:48 UTC

[GitHub] [pinot] Airliquide76 opened a new issue, #8549: Jackson infinite recursion error (unnested fields)

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

   I face an error linked to cols name I think.
   
   Version used 10.0.0 
   
   When I set a filter config with the folowing schema part :
   
   `    "filterConfig":{
               "filterFunction": "Groovy({exceptionaltime.id != null })"
             },`
   
   I've got a hudge shaded.com.fasterxml.jackson.databind  infinited loop see attached logs bellow. 
   
   [Githubissue.txt](https://github.com/apache/pinot/files/8495947/Githubissue.txt)
   
   When I remove the filter config docs get correctly indexed. 
   
   
   I've face the same issue (without the filterConfig) with Pre-PROD serveur V9.3.0 with same schema and table config. Working 
   in local (10.0.0) not working in V9.3.0 
   
   Do not hesitate to ask further question and sorry for my poor english. 


-- 
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-unsubscribe@pinot.apache.org.apache.org

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


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


[GitHub] [pinot] saumya2700 commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
saumya2700 commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1104735961

   I am attaching schema , table and data
   [recursionISsueSampleDataandSchema.txt](https://github.com/apache/pinot/files/8527601/recursionISsueSampleDataandSchema.txt)
   


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] npawar commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
npawar commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1101549267

   On the slack thread, you mentioned you're using complexTypeConfig? Do you mind sharing the table config, the pinot schema and a sample row that fails?


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] Jackie-Jiang commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1110235985

   Closing the issue.
   @saumya2700 The exception you got is from flattening the docs, so it is under a different topic. If the problem is still not resolved, could you please create a separate issue?


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] Airliquide76 commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
Airliquide76 commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1102287490

   Hi. As asked a few more informations :
   
   [regulartimes-schema.txt](https://github.com/apache/pinot/files/8511219/regulartimes-schema.txt)
   [regulartimes-table.txt](https://github.com/apache/pinot/files/8511220/regulartimes-table.txt)
   
   This schema is actualy working. But as soon as I add 
   
   `"filterConfig":{ "filterFunction": "Groovy({regulartime.id != null })" },` -> It crash.
   
   Here a sample of a few rows. 
   [SampleRow.txt](https://github.com/apache/pinot/files/8511297/SampleRow.txt)
   
   


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] saumya2700 commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
saumya2700 commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1103917126

   I am also getting the same exception using FiledTounnest configuration, I am not using any filterconfig still getting recursion error.


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] Airliquide76 commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
Airliquide76 commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1108499928

   Well issue was really linked with the groovy witch does not like the "." in my side.
   
   For me this issue can be closed.
   
   Many 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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] saumya2700 commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
saumya2700 commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1104699705

   I am using 0.10.0 v also one more observation this error start coming after some time when I have created table it is ingesting data for 2,3 days and it has around 45K data in it but after that due to this error everything stopped means all segments in external view are also in offline state. I gaian created same table config with different name and it started working and ingesting data but not sure when this problem will come and it will stop working.


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] saumya2700 commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
saumya2700 commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1104752965

   here is sample table, schema and sample data.
   [Uploading recursionISsueSampleDataandSchema.txt…]()
   


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] Jackie-Jiang closed issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang closed issue #8549: Jackson infinite recursion error (unnested fields)
URL: https://github.com/apache/pinot/issues/8549


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] npawar commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
npawar commented on issue #8549:
URL: https://github.com/apache/pinot/issues/8549#issuecomment-1104651435

   @saumya2700 which version are you using? Can you try with 0.10.0 if you're using something older? 


-- 
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-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] npawar commented on issue #8549: Jackson infinite recursion error (unnested fields)

Posted by GitBox <gi...@apache.org>.
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-unsubscribe@pinot.apache.org

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


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