Querying Amazon Redshift - Amazon SageMaker Unified Studio

Querying Amazon Redshift

When using the JupyterLab IDE, a Python3 kernel is created for each notebook by default. You can use this kernel to query Amazon Redshift with two different methods:

  1. Run an SQL query directly

  2. Create a AWS Glue interactive session (GlueIS) and write Python code to query Amazon Redshift, letting GlueIS run the code

The following examples demonstrate how to query Amazon Redshift with the two different methods.