Skip to content

Instantly share code, notes, and snippets.

@celestehorgan
celestehorgan / loader.py
Last active May 13, 2024 11:26 — forked from Ugbot/loader.py
uploading from S3 into clickhouse
## You also need to create a function URL in AWS Lambda. I'm not sure what the permissions should be so I was very permissive.
import json
import boto3
import csv
import io
from botocore.vendored import requests
s3Client = boto3.client('s3')