git checkout s3-select
# Compile weed
weed server -s3
pip install awscli
aws configure // default all the way
aws configure set default.s3.signature_version s3v4
aws --endpoint-url http://localhost:8333 s3 mb s3://newbucketgoogle
Link: https://www.kaggle.com/lava18/google-play-store-apps
aws --endpoint-url http://localhost:8333 s3 copy google-play-store-apps/googleplaystore.csv s3://newbucketgoogle
aws --endpoint-url http://localhost:8333 s3api select-object-content --bucket "newbucketgoogle" --key
"googleplaystore.csv" --expression "select * from s3object limit 5" --expression-type 'SQL' --input-serialization '{"CSV": {"FileHeaderInfo": "USE","RecordDelimiter": "\n","FieldDelimiter": ","}, "CompressionType": "NONE"}' --output-serialization '{"CSV": {"RecordDelimiter": "\n","FieldDelimiter": ","}}' "sample.csv"
vim sample.csv