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

Ship function documentation, improve remote st_read calls #291

Merged
merged 9 commits into from
Mar 23, 2024

Conversation

Maxxen
Copy link
Member

@Maxxen Maxxen commented Mar 23, 2024

We now include the documentation for spatial function in the extension itself, so examples and descriptions will show up when you call

SELECT * FROM duckdb_functions()

We use then use this in a python script that constructs a query selecting all spatial functions and dump them to a markdown file available in docs/functions.md. There's still some stuff left to do:

  • COPY functions are not part of the output and are missing docs
  • Far from every function has an example
  • Parameter names need to be documented manually and haven't been done yet

I've also done some tweaks around with st_read and remote calls should now be much faster as we don't force compute the feature count if its expensive and also make use of gdal cached file handles when querying remotely.

I've also added a st_hilbert scalar function that is completely untested but I want to use in the future to prototype some basic spatial index stuff

@Maxxen Maxxen changed the title Dev stable Ship function documentation, improve remote st_read calls Mar 23, 2024
@Maxxen Maxxen merged commit f33fdf9 into duckdb:v0.10.1 Mar 23, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant