This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from io import BytesIO | |
import pyarrow as pa | |
import pyarrow.parquet as pq | |
kilobytes = 1024 | |
megabytes = kilobytes * 1000 | |
chunksize = int(10 * megabytes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import boto3 | |
firehose_client = boto3.client('firehose') | |
def lambda_handler(event, context): | |
resultString = "" | |
for record in event['Records']: |