Post

2 followers Follow
0
Avatar

Maximum recursion depth of 1000 has been reached

I got the below error when trying to compile a csdl using stream tag like the one in this example http://dev.datasift.com/docs/advanced/stream-keyword (using Python API Client):

CompileFailedError: An error occurred: "maximum recursion depth of 1000 has been reached".

There are about 1,600 streams inside the "return" statement.

Trung Huynh

Official comment

Avatar

This 'maximum recursion depth' error is raised because you are using more than 1000 'OR' operators in your CSDL.

If you split this into two separate streams (800 streams per master stream), this will resolve the problem. 

Jason D.
Comment actions Permalink

Please sign in to leave a comment.

1 comment