java.lang.RuntimeException: com.amazon.support.exceptions.ErrorException: [Amazon](500310) Invalid operation: function schema() does not exist;

YouTrack | 11 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    RuntimeException - "function schema() does not exist" error when attempting to perform DDL in DataGrip 2016.1 EAP

    YouTrack | 11 months ago
    java.lang.RuntimeException: com.amazon.support.exceptions.ErrorException: [Amazon](500310) Invalid operation: function schema() does not exist;

    Root Cause Analysis

    1. java.lang.RuntimeException

      com.amazon.support.exceptions.ErrorException: [Amazon](500310) Invalid operation: function schema() does not exist;

      at com.amazon.redshift.client.messages.inbound.ErrorResponse.toErrorException()
    2. com.amazon.redshift
      PGMessagingContext.handleMessage
      1. com.amazon.redshift.client.messages.inbound.ErrorResponse.toErrorException(Unknown Source)
      2. com.amazon.redshift.client.PGMessagingContext.handleErrorResponse(Unknown Source)
      3. com.amazon.redshift.client.PGMessagingContext.getOperationMetadata(Unknown Source)
      4. com.amazon.redshift.client.PGMessagingContext.getOperationMetadata(Unknown Source)
      5. com.amazon.redshift.client.PGMessagingContext.handleMessage(Unknown Source)
      5 frames
    3. com.amazon.jdbc
      InboundMessagesPipeline.getNextMessageOfClass
      1. com.amazon.jdbc.communications.InboundMessagesPipeline.getNextMessageOfClass(Unknown Source)
      1 frame
    4. com.amazon.redshift
      PGMessagingContext.handleMessage
      1. com.amazon.redshift.client.PGMessagingContext.doMoveToNextClass(Unknown Source)
      2. com.amazon.redshift.client.PGMessagingContext.getReadyForQuery(Unknown Source)
      3. com.amazon.redshift.client.PGMessagingContext.getOperationMetadata(Unknown Source)
      4. com.amazon.redshift.client.PGMessagingContext.getOperationMetadata(Unknown Source)
      5. com.amazon.redshift.client.PGMessagingContext.handleMessage(Unknown Source)
      5 frames
    5. com.amazon.jdbc
      InboundMessagesPipeline.getNextMessageOfClass
      1. com.amazon.jdbc.communications.InboundMessagesPipeline.getNextMessageOfClass(Unknown Source)
      1 frame
    6. com.amazon.redshift
      PGIQueryExecutor.execute
      1. com.amazon.redshift.client.PGMessagingContext.doMoveToNextClass(Unknown Source)
      2. com.amazon.redshift.client.PGMessagingContext.getReadyForQuery(Unknown Source)
      3. com.amazon.redshift.client.PGMessagingContext.getOperationMetadata(Unknown Source)
      4. com.amazon.redshift.client.PGMessagingContext.getOperationMetadata(Unknown Source)
      5. com.amazon.redshift.client.PGMessagingContext.getBindComplete(Unknown Source)
      6. com.amazon.redshift.client.PGClient.directExecute(Unknown Source)
      7. com.amazon.redshift.dataengine.PGIQueryExecutor.execute(Unknown Source)
      7 frames
    7. com.amazon.jdbc
      SStatement.executeQuery
      1. com.amazon.jdbc.common.SStatement.executeNoParams(Unknown Source)
      2. com.amazon.jdbc.common.SStatement.executeQuery(Unknown Source)
      2 frames
    8. com.intellij.database
      RemoteStatementImpl.executeQuery
      1. com.intellij.database.remote.jdbc.impl.RemoteStatementImpl.executeQuery(RemoteStatementImpl.java:150)
      1 frame
    9. Java RT
      ThreadPoolExecutor$Worker.run
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
      6. sun.rmi.transport.Transport$1.run(Transport.java:200)
      7. sun.rmi.transport.Transport$1.run(Transport.java:197)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      10. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      11. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      12. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
      13. java.security.AccessController.doPrivileged(Native Method)
      14. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      15. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      16. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      16 frames