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

[SEDONA-206] Performance regression of ST_Transform #727

Merged
merged 3 commits into from
Dec 12, 2022

Conversation

jiayuasu
Copy link
Member

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

Swap CRS.decode and CRS.parseWKT in ST_Transform function. So the default becomes that first try CRS.decode then call CRS.parseWKT. This makes sense since in most cases, people just use an existing CRS code issues by an authority. This could significantly speed up ST_Transform

How was this patch tested?

Passed unit tests

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the docs.

@jiayuasu jiayuasu merged commit cd3ef7a into master Dec 12, 2022
@jiayuasu jiayuasu deleted the SEDONA-206-bad-ST_Transform-perf branch December 12, 2022 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant