com.facebook.presto.client.FailureInfo$FailureException: org.postgresql.util.PSQLException: ERROR: stack depth limit exceeded Hint: Increase the configuration parameter "max_stack_depth" (currently 2048kB), after ensuring the platform's stack depth limit is adequate.

GitHub | ArturGajowy | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    PostgreSQL connector: ERROR: stack depth limit exceeded

    GitHub | 7 months ago | ArturGajowy
    com.facebook.presto.client.FailureInfo$FailureException: org.postgresql.util.PSQLException: ERROR: stack depth limit exceeded Hint: Increase the configuration parameter "max_stack_depth" (currently 2048kB), after ensuring the platform's stack depth limit is adequate.

    Root Cause Analysis

    1. com.facebook.presto.client.FailureInfo$FailureException

      org.postgresql.util.PSQLException: ERROR: stack depth limit exceeded Hint: Increase the configuration parameter "max_stack_depth" (currently 2048kB), after ensuring the platform's stack depth limit is adequate.

      at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse()
    2. PostgreSQL JDBC Driver
      AbstractJdbc2Statement.executeQuery
      1. org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
      2. org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
      3. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
      4. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
      5. org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419)
      6. org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:304)
      6 frames
    3. com.facebook.presto
      JdbcRecordSet.cursor
      1. com.facebook.presto.plugin.jdbc.JdbcRecordCursor.<init>(JdbcRecordCursor.java:74)
      2. com.facebook.presto.plugin.jdbc.JdbcRecordSet.cursor(JdbcRecordSet.java:56)
      2 frames
    4. presto-spi
      RecordPageSource.<init>
      1. com.facebook.presto.spi.RecordPageSource.<init>(RecordPageSource.java:37)
      1 frame
    5. presto-main
      TaskExecutor$Runner.run
      1. com.facebook.presto.split.RecordPageSourceProvider.createPageSource(RecordPageSourceProvider.java:42)
      2. com.facebook.presto.split.PageSourceManager.createPageSource(PageSourceManager.java:48)
      3. com.facebook.presto.operator.ScanFilterAndProjectOperator.createSourceIfNecessary(ScanFilterAndProjectOperator.java:292)
      4. com.facebook.presto.operator.ScanFilterAndProjectOperator.isFinished(ScanFilterAndProjectOperator.java:180)
      5. com.facebook.presto.operator.Driver.processInternal(Driver.java:375)
      6. com.facebook.presto.operator.Driver.processFor(Driver.java:301)
      7. com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:618)
      8. com.facebook.presto.execution.TaskExecutor$PrioritizedSplitRunner.process(TaskExecutor.java:529)
      9. com.facebook.presto.execution.TaskExecutor$Runner.run(TaskExecutor.java:665)
      9 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames