Athena recursive cte NOT_SUPPORTED: Recursion depth limit exceeded (10). Use 'max_recursion_depth'

0

Hi, Trying to use a recursive cte with Athena and I get this error :

NOT_SUPPORTED: Recursion depth limit exceeded (10). Use 'max_recursion_depth' session property to modify the limit.

How would I set this session property from the console ? Thanks!

질문됨 일 년 전1355회 조회
2개 답변
0

Using the WITH clause to create recursive queries is not supported.

https://docs.aws.amazon.com/athena/latest/ug/select.html#select-parameters

Please share your SQL if you are not using WITH clause.

profile pictureAWS
답변함 일 년 전
0

Athena engine v3 supports recursive query per the doc link above.

Using the WITH clause to create recursive queries is supported starting in Athena engine version 3. The maximum recursion depth is 10.

I too would like to know how to set the the limit in the console. Is there a hard limit?

AWS
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인