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

feat(compatibility,catalog): missing columns in system catalog #17287

Closed
fuyufjh opened this issue Jun 18, 2024 · 3 comments
Closed

feat(compatibility,catalog): missing columns in system catalog #17287

fuyufjh opened this issue Jun 18, 2024 · 3 comments
Assignees
Milestone

Comments

@fuyufjh
Copy link
Member

fuyufjh commented Jun 18, 2024

Case 1.

2024-06-17T18:39:16.246489366Z ERROR handle_query{mode="extended query parse" session_id=29 sql=SELECT reltuples FROM pg_class WHERE relnamespace = (SELECT oid FROM pg_namespace WHERE nspname = $1) AND relname = $2}: pgwire::pg_protocol: error when process message error=Failed to prepare the statement: Failed to bind expression: reltuples: Item not found: Invalid column: reltuples<

Case 2.

2024-06-13T17:07:22.752019564Z ERROR handle_query{mode="extended query parse" session_id=1104 sql=SELECT att.attname, greatest(att.attndims, 1) AS attndims FROM pg_attribute AS att JOIN pg_type AS attyp ON att.atttypid = attyp.oid JOIN pg_class AS tbl ON tbl.oid = att.attrelid JOIN pg_namespace AS ns ON tbl.relnamespace = ns.oid WHERE ns.nspname = $1 AND tbl.relname = $2 AND attyp.typcategory = 'A'}: pgwire::pg_protocol: error when process message error=Failed to prepare the statement: Failed to bind expression: greatest(att.attndims, 1): Item not found: Invalid column: attndims

@fuyufjh fuyufjh self-assigned this Jun 18, 2024
@github-actions github-actions bot added this to the release-1.10 milestone Jun 18, 2024
@neverchanje
Copy link
Contributor

Wondering which tool were you using when you found this issue?

@yuhao-su
Copy link
Contributor

yuhao-su commented Jun 18, 2024

Wondering which tool were you using when you found this issue?

It's found by a user using Trino. https://risingwave-community.slack.com/archives/C03BW71523T/p1718298458539169

@fuyufjh fuyufjh modified the milestones: release-1.10, release-1.11 Jul 10, 2024
@fuyufjh fuyufjh modified the milestones: release-2.0, release-2.1 Aug 19, 2024
@fuyufjh fuyufjh modified the milestones: release-2.1, release-2.2 Oct 17, 2024
@fuyufjh
Copy link
Member Author

fuyufjh commented Oct 24, 2024

Tried Trino and didn't meet the problem.

@fuyufjh fuyufjh closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
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

No branches or pull requests

3 participants