trinodb / trino-python-client

Python client for Trino
Apache License 2.0
322 stars 163 forks source link

Incorrect retrieval of partitions in get_indexes method #476

Open hovaesco opened 1 month ago

hovaesco commented 1 month ago

The current implementation of get_indexes retrieves the column names of the $partitions table instead of providing the actual values/keys of the partitions.

It should query the "table_name$partitions" directly and return the partition column names along with all partition values.

hovaesco commented 2 weeks ago

https://trinodb.slack.com/archives/CFPVDCDHV/p1721635411307939