Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Destructuring Doc Suggestion #1250

Open
zachcp opened this issue Apr 16, 2024 · 1 comment
Open

Destructuring Doc Suggestion #1250

zachcp opened this issue Apr 16, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@zachcp
Copy link

zachcp commented Apr 16, 2024

This used to return a JS array of maps; one per row. Now it returns the arrow table.

sql id=top10
SELECT * FROM gaia ORDER BY phot_g_mean_mag LIMIT 10

Suggestion: add something like this to the docs to make it explicit how to pull out all the rows.

sql id=[...top10]
SELECT * FROM gaia ORDER BY phot_g_mean_mag LIMIT 10
@zachcp zachcp added the enhancement New feature or request label Apr 16, 2024
@Fil
Copy link
Contributor

Fil commented Apr 16, 2024

I'm not a huge fan of the "array of Proxies" that this returns, but agree that the arrow table is too opaque (discussed also as part of #1120).

@mbostock mbostock added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants