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

Solutions on MaxInterview for how to read json file from s3 bucket into aws glue job by the best coders in the world

showing results for - "how to read json file from s3 bucket into aws glue job"
Kash
09 May 2018
1import boto3
2
3s3 = boto3.client('s3')
4#bucket name with out the leading s3://
5data = s3.get_object(Bucket='[bucket name]', Key='[file path after bucket name]')