astronomy-commons / axs

Astronomy eXtensions for Spark: Fast, Scalable, Analytics of Billion+ row catalogs
https://axs.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
23 stars 12 forks source link

Add a convenience for list_tables() to list 'table_id' only #2

Closed bsipocz closed 5 years ago

bsipocz commented 5 years ago

It would be very convenient to avoid the need for looping to get quick list of catalogues available.

zecevicp commented 5 years ago

I added the list_table_names method to AxsCatalog. To apply the change, you can simply replace the existing catalog.py file.

Doing that, I found a bug in AxsUtilities package where table name was returned for both ID and name fields. I fixed that too. However, AxsUtilities jar needs to be rebuilt to apply that change.

I will close the issue. If something doesn't work for you, please reopen it.