Error when uploading user tables using Gaia TAP+ in csv format; format must be Astropy table or VOTable
- Dominant language
- Python
- Stars
- 791
- Forks
- 451
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 4
Description
When uploading user tables using Gaia TAP+ (either `Gaia.launch_job` or `Gaia.launch_job_async`), if the uploaded file format is a csv file, it seems like it is not correctly parsed as a csv file, and the job instead tries to parse it as a VOTable, and fails as a result. It might be a good idea to add a field to explicitly provide the format, like in the `Gaia.upload_table` function.
Also, it would be good to clarify in the documentation what uploaded table formats are allowed. Such language is present in https://astroquery.readthedocs.io/en/latest/gaia/gaia.html#uploading-table-from-file, but not in https://astroquery.readthedocs.io/en/latest/gaia/gaia.html#synchronous-query-on-an-on-the-fly-uploaded-table.
Contributor guide
Research direction
Start with Gaia.launch_job and Gaia.launch_job_async, then compare their uploaded-table handling with Gaia.upload_table. Review the documentation sections for uploading a table from a file and synchronous queries on an on-the-fly uploaded table. Done means CSV uploads are parsed as CSV when supported and the allowed uploaded table formats are documented consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100