microsoft / hyperspace

An open source indexing subsystem that brings index-based query acceleration to Apache Spark™ and big data workloads.
https://aka.ms/hyperspace
Apache License 2.0
424 stars 115 forks source link

Update explain api to not display index data version folder in "Index Selected" output #251

Open apoorvedave1 opened 4 years ago

apoorvedave1 commented 4 years ago

Describe the issue

Currently hs.explain looks like this:

=============================================================
Indexes used:
=============================================================
deptIndex1:<path>/indexes/deptIndex1/v__=0
empIndex1:<path>/indexes/empIndex1/v__=0

remove the extra v__=0 from this

To Reproduce

Expected behavior

Environment

dai-chen commented 2 years ago

@apoorvedave1 I'm new to Hyperspace and looking for some issue to ramp up. I'm wondering why we want to remove the v__=0 folder name here? Is it clearer to show it in explain output? Or is this latests one not necessary the one being used? Thanks!