Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mycsvbucket (0.08 sec)

  1. docs/select/select.py

                      aws_access_key_id='minio',
                      aws_secret_access_key='minio123',
                      region_name='us-east-1')
    
    r = s3.select_object_content(
        Bucket='mycsvbucket',
        Key='sampledata/TotalPopulation.csv.gz',
        ExpressionType='SQL',
        Expression="select * from s3object s where s.Location like '%United States%'",
        InputSerialization={
            'CSV': {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 18 00:11:39 UTC 2018
    - 1K bytes
    - Viewed (0)
  2. docs/select/README.md

    ```sh
    curl "https://population.un.org/wpp/Download/Files/1_Indicators%20(Standard)/CSV_FILES/WPP2019_TotalPopulationBySex.csv" > TotalPopulation.csv
    mc mb myminio/mycsvbucket
    gzip TotalPopulation.csv
    mc cp TotalPopulation.csv.gz myminio/mycsvbucket/sampledata/
    ```
    
    Now let us proceed to run our select example to query for `Location` which matches `United States`.
    
    ```sh
    $ python3 select.py
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
Back to top