Skip to content

custom Redshift operator is removed automatically after a couple of days

0

We create the following operator on our redshift cluster:

CREATE OPERATOR public.&& ( LEFTARG = GEOMETRY, RIGHTARG = GEOMETRY, PROCEDURE = ST_Intersects );

The operator is automatically removed after a couple of days. How is this possible? Is this bug? I couldn't find anything about this in the documentation.

asked a year ago111 views

1 Answer
0

Hi Frederick,

Here are a few things that you can check to troubleshoot further. If you're not able to find the root cause on your end after troubleshooting, you can reach out to AWS Support.

  • Check that you are not creating the operator within a session or transaction without committing it. Those objects created within the session would be lost when the session ends.
  • Verify that you have the appropriate permissions:
    • Permissions to create and maintain operators
    • A user with sufficient privileges created the operator
    • The role or user that created the operator still exists and has the same permissions
  • Check for any automated maintenance scripts or procedures in your environment that might clean up custom objects
  • Check that the operator is created in the correct schema and that your search_path includes that schema.

If you have verified these items above, and still are having an issue, check the Redshift logs around the time of the deletion to see what might be occurring to cause it.

Thank you.


References:

AWS
EXPERT

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.