Skip to content

Conversation

@bitner
Copy link
Collaborator

@bitner bitner commented Jul 12, 2021

@bitner bitner merged commit cb760fb into main Jul 13, 2021
WHEN 'ge' THEN '>='
WHEN 'gt' THEN '>'
WHEN 'le' THEN '<='
WHEN 'gte' THEN '>'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bitner this will break the pgstac backend of fast-api, no? Because of these operators?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. the backend is pegged to 0.2.4, so will need to update stac-fastapi pgstac with this and change the pin to 0.2.5

Copy link
Contributor

@zstatmanweil zstatmanweil Jul 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @bitner and @lossyrob: I ended up on this PR as I was encountering the date pagination issue - thanks for fixing it! I think the greater than's got mixed up. Should be the following to match the change happening with the less than's:

WHEN 'gt' THEN '>'
WHEN 'gte' THEN '>='

Should I open a PR to fix this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! Great catch...a PR would be appreciated, thank you!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lossyrob, will you make me a collaborator so I can open the PR? Fixed the issue but don't have access. I imagine I may contribute in the future anyhow

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, the best way to make a PR would be to fork the project into your GitHub account, clone that repo (or add your fork as a remote, e.g. git remote add mine git@github.com:/zstatmanweil/pgstac, push the branch to your fork (git push mine my-fix-branch), and then make the PR from their to the main stac-utils/pgstac GitHub repository. Would that work for you? You can make PRs against this project in that way, and also any other open source project even if your not a collaborator.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it - thanks for the explanation. PR opened!

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.

Token Pagination not following full datetime filter. query operators should match spec Errors on fresh run of psql -f pgstac.sql

4 participants