Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to read json file from s3 bucket into aws glue job

import boto3

s3 = boto3.client('s3')
#bucket name with out the leading s3://
data = s3.get_object(Bucket='[bucket name]', Key='[file path after bucket name]')
 
PREVIOUS NEXT
Tagged: #read #json #file #bucket #aws #glue #job
ADD COMMENT
Topic
Name
8+8 =