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:
-
Run an SQL query directly
-
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.