Query Redshift Table with SQL in Python | AWS SDK for Pandas

  Рет қаралды 2,440

DataEng Uncomplicated

DataEng Uncomplicated

Күн бұрын

This is a hands-on tutorial which walks through the step-by-step process on how to query data in a redshift database using a SQL statement. In this video, I'm going to first cover how we can connect to our redshift cluster in python, use sql to pull values from a single table, use a where statement to limit how much data we are querying,
use python variables in our sql statements, and how to query multiple redshift tables with a join and return the results.
Github Repo: github.com/AdrianoNicolucci/d...
Add Redshift Data Source In AWS Glue Catalog: • Add Redshift Data Sour...
Buy me a coffee: www.buymeacoffee.com/dataengu
timeline:
00:00 Overview
00:37 Prerequisites
01:02 Connect to redshift cluster in python
02:55 Query single table
03:54 Query table with where statement
04:28 Query table with python variables
06:01 Query multiple tables with inner join
#aws #dataengineering #awswrangler

Пікірлер: 3
@BI-Rahul
@BI-Rahul Жыл бұрын
This is awesome!
@grok_coder
@grok_coder 11 ай бұрын
Can you explain how this compares with Redshift Data API where we use execute_statement()? Is there a limit on how much data we can read at once? How does it compare to JDBC connection?
@DataEngUncomplicated
@DataEngUncomplicated 11 ай бұрын
That's a good question, I'm not sure what the technical differences are of using this api Instead. The limit of how much data you can pull is dependant on your machine. For example if using a lambda function you are going to hit memory issues quicker than I'd you were using a machine with 32gb of memory.
Top AWS Services A Data Engineer Should Know
13:11
DataEng Uncomplicated
Рет қаралды 156 М.
Lesson 5a: Querying Redshift from a Lambda Function
11:32
AllThingsAWS
Рет қаралды 12 М.
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 16 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 13 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 38 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 13 МЛН
Load Database Tables Into Pandas
10:55
NeuralNine
Рет қаралды 17 М.
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 1,8 МЛН
SQL Databases with Pandas and Python - A Complete Guide
16:59
Rob Mulla
Рет қаралды 115 М.
AWS Glue PySpark: Upserting Records into a Redshift Table
8:48
DataEng Uncomplicated
Рет қаралды 7 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 341 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,5 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 16 МЛН