In this example we will ingest and query GDELT data using the GeoMesa FileSystem datastore backed by Amazon S3. The
GeoMesa FileSystem Datastore provides an performant and cost-efficient solution for large SQL queries over datasets
like GDELT using Amazon’s Elastic Map Reduce (EMR) framework.

This will create a new spark shell from which you can load a GeoMesa FileSystem datastore from S3 or HDFS. A common
usage pattern is to keep parquet files in S3 so they can be elastically queried with EMR and Spark. For example if you
have ingested GDELT data into S3 you can query it with SQL in the spark shell: