Querying datashare objects - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon Redshift will no longer support the creation of new Python UDFs starting November 1, 2025. If you would like to use Python UDFs, create the UDFs prior to that date. Existing Python UDFs will continue to function as normal. For more information, see the blog post .

Querying datashare objects

On the consumer cluster, you can query datashare objects using fully qualified object names expressed with the three-part notation: database, schema, and name of the object.

  1. In the query editor v2 tree-view panel, choose the schema.

  2. To view a table definition, choose a table.

    The table columns and data types display.

  3. To query a table, choose the table and use the context menu (right-click) to choose Select table.

  4. Query tables using SELECT commands. For example:

    select top 10 * from test_db.public.event;