┌────────────────┬────────────┬─────────────┬───────────────────────┬─────────────────────────┐
│ path_in_schema │    type    │ compression │ total_compressed_size │ total_uncompressed_size │
│    varchar     │  varchar   │   varchar   │         int64         │          int64          │
├────────────────┼────────────┼─────────────┼───────────────────────┼─────────────────────────┤
│ uuid           │ BYTE_ARRAY │ SNAPPY      │                102191 │                  113189 │
│ user_uuid      │ BYTE_ARRAY │ SNAPPY      │                  2125 │                    2348 │
│ date           │ INT64      │ SNAPPY      │                 22667 │                   22661 │
│ quantity       │ INT64      │ SNAPPY      │                  1242 │                    1245 │
│ product        │ BYTE_ARRAY │ SNAPPY      │                  1271 │                    1266 │
└────────────────┴────────────┴─────────────┴───────────────────────┴─────────────────────────┘
┌────────────────────────────────────────────────────────────────────────────────────┐
│                                        file                                        │
│                                      varchar                                       │
├────────────────────────────────────────────────────────────────────────────────────┤
│ s3://user-r-homsi-ece/analytics/orders_by_product/product=bread/data_0.parquet     │
│ s3://user-r-homsi-ece/analytics/orders_by_product/product=brioche/data_0.parquet   │
│ s3://user-r-homsi-ece/analytics/orders_by_product/product=cookie/data_0.parquet    │
│ s3://user-r-homsi-ece/analytics/orders_by_product/product=croissant/data_0.parquet │
│ s3://user-r-homsi-ece/analytics/orders_by_product/product=donut/data_0.parquet     │
│ s3://user-r-homsi-ece/analytics/orders_by_product/product=drink/data_0.parquet     │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────┐
│┌───────────────────────────────────┐│
││    Query Profiling Information    ││
│└───────────────────────────────────┘│
└─────────────────────────────────────┘
 EXPLAIN ANALYZE SELECT count(*) FROM read_parquet(getvariable('bucket') || '/analytics/orders_by_product/*/*.parquet') WHERE product='cookie'; 
┌─────────────────────────────────────┐
│┌───────────────────────────────────┐│
││         HTTPFS HTTP Stats         ││
││                                   ││
││            in: 33.7 KiB           ││
││            out: 0 bytes           ││
││              #HEAD: 0             ││
││              #GET: 3              ││
││              #PUT: 0              ││
││              #POST: 0             ││
││             #DELETE: 0            ││
│└───────────────────────────────────┘│
└─────────────────────────────────────┘
┌────────────────────────────────────────────────┐
│┌──────────────────────────────────────────────┐│
││              Total Time: 0.194s              ││
│└──────────────────────────────────────────────┘│
└────────────────────────────────────────────────┘
┌───────────────────────────┐
│           QUERY           │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│      EXPLAIN_ANALYZE      │
│    ────────────────────   │
│                           │
│           0 rows          │
│           0.00s           │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│    UNGROUPED_AGGREGATE    │
│    ────────────────────   │
│        Aggregates:        │
│        count_star()       │
│                           │
│                           │
│                           │
│           1 row           │
│           0.00s           │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│         TABLE_SCAN        │
│    ────────────────────   │
│         Function:         │
│        READ_PARQUET       │
│                           │
│       File Filters:       │
│    (product = 'cookie')   │
│                           │
│    Scanning Files: 1/6    │
│    Total Files Read: 1    │
│                           │
│        Filename(s):       │
│   s3://user-r-homsi-ece   │
│         /analytics        │
│ /orders_by_product/product│
│   =cookie/data_0.parquet  │
│                           │
│                           │
│                           │
│          466 rows         │
│           0.00s           │
└───────────────────────────┘
[90m-- Loading resources from init.sql
[00m