-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Incorrect query results in PostgreSQL connector when comparing varchar values are collation sensitive #3645
Comments
in Postgres the recommended way is to use
|
There seems to be no way to enforce "C" locale connection-wide. |
I think this issue is more generic. It not only about punctuation symbol. PostgreSQL has different collation by default than Trino. For example for PostgreSQL |
Thanks for broadening the issue scope. Can you please add relevant examples to the description as well? |
Sure, done. |
Using
io.prestosql.plugin.postgresql.PostgreSqlQueryRunner#main
PostgreSQL connector:And:
This is because default collation in Postgres:
5.
after5-
(like Trino), but before5-LOW
(the actual value in the column).a
beforeA
, unlike TrinoThe text was updated successfully, but these errors were encountered: