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

Fix argument order in ST_Point() function docs #22314

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Conversation

gontzalm
Copy link
Contributor

@gontzalm gontzalm commented Jun 7, 2024

Description

Fix misleading argument order in ST_Point() docs when creating a point from geographical coordinates.

Additional context and related issues

I ended up swapping the latitude and the longitude when computing the centroid of various coordinates due to the misleading argument order in the documentation.

The order should match the one documented in PostGis/ST_Point().

Fixes #22419

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

Copy link

cla-bot bot commented Jun 7, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@github-actions github-actions bot added the docs label Jun 7, 2024
@mvexel
Copy link

mvexel commented Jun 13, 2024

I ran into this as well. Would be really nice to get this small doc fix in. Thanks!

@ebyhr ebyhr merged commit a2bd9ab into trinodb:master Jun 18, 2024
8 of 9 checks passed
@github-actions github-actions bot added this to the 450 milestone Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Bug in ST_Point docs
3 participants