herculanocm / aws-redshift-tips

Data Engineer AWS Redshift Tips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Redshift tips for use

de_redshift_tips = Data Engineer Reshift Tips

Using:

First generate wheel file for install with

virtualenv --python="/usr/bin/python3.7" "./venv"
pip install -r requeriments.txt
python setup.py bdist_wheel

Import the module

import de_redshift_tips.reshift_functions as RT

result = RT.redshift_get_rows_result_query(glue_client, 'redshift-production-trusted-owner','select * from table')

Enviroments

  • Python 3.7
  • Boto3
  • Redshift-Connector

Tests

pytest -v -s

About

Data Engineer AWS Redshift Tips

License:MIT License


Languages

Language:Python 100.0%