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

DuplicateColumnProjection in valid query #3781

Open
egg-juxt opened this issue Oct 11, 2024 · 0 comments
Open

DuplicateColumnProjection in valid query #3781

egg-juxt opened this issue Oct 11, 2024 · 0 comments

Comments

@egg-juxt
Copy link
Contributor

DBeaver makes this request at init-time:

SELECT db.oid,db.* FROM pg_catalog.pg_database db WHERE 1 = 1 AND datallowconn AND NOT datistemplate OR db.datname =$1
ORDER BY db.datname

which causes the error

16:38:09.889 [pgwire-connection--pool-10-thread-1] ERROR xtdb.pgwire - #xt/illegal-arg [:xtdb/sql-error Errors planning SQL statement:
  - Duplicate column projection: oid {:errors [#xtdb.sql.plan.DuplicateColumnProjection{:col-sym oid}]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant