I would like to retrieve the partition name on query results.
So if I have a partition like:
dataset/foo/
├─ key=value1
├─ key=value2
└─ key=value3
I can do this query
results = session.read.parquet('dataset/foo/key=value[12]') \
.select(['BAR']) \
.where('BAZ < 10')
Once I do this how to know the partition origin for each results ?
Indeed I can get only values form the BAR column.
Thanks for your help