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

DataGrip compatibility regression from v1.5.0 to v1.5.1 #14102

Closed
TennyZhuang opened this issue Dec 20, 2023 · 11 comments · Fixed by #14105
Closed

DataGrip compatibility regression from v1.5.0 to v1.5.1 #14102

TennyZhuang opened this issue Dec 20, 2023 · 11 comments · Fixed by #14105
Assignees
Labels
type/bug Something isn't working
Milestone

Comments

@TennyZhuang
Copy link
Contributor

TennyZhuang commented Dec 20, 2023

Describe the bug

Although we don't have official support for DataGrip, it is generally usable in v1.5.0. However, in v1.5.1, a new bug was introduced and we should fix it.

Error message/log

image

To Reproduce

No response

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

v1.5.1

Additional context

#10347

@TennyZhuang TennyZhuang added the type/bug Something isn't working label Dec 20, 2023
@TennyZhuang TennyZhuang self-assigned this Dec 20, 2023
@github-actions github-actions bot added this to the release-1.6 milestone Dec 20, 2023
@TennyZhuang
Copy link
Contributor Author

TennyZhuang commented Dec 20, 2023

bisecting

0bc2da2 passed
6da9617 failed
a5ba48b failed
1ce8024 failed
a69216f failed
8914dd3 passed

@TennyZhuang
Copy link
Contributor Author

#13999
#14015

Caused the regression

@TennyZhuang
Copy link
Contributor Author

query log

2023-12-20T23:33:32.378972+08:00 risingwave-main ThreadId(11) mode=(extended query execute) session=1 status=ok time=0ms sql=SHOW TRANSACTION ISOLATION LEVEL

@TennyZhuang
Copy link
Contributor Author

import psycopg
connection = psycopg.connect(
    host="127.0.0.1",
    port=4566,
    user="root",
    password="",
    dbname="dev",
)
cursor = connection.cursor()
cursor.execute('show transaction isolation level', prepare=True)
DatabaseError: server sent data ("D" message) without prior row description ("T" message)

@TennyZhuang
Copy link
Contributor Author

psql reproduce

dev=> show transaction isolation level; \bind \g
server sent data ("D" message) without prior row description ("T" message)
server sent data ("D" message) without prior row description ("T" message)

@TennyZhuang
Copy link
Contributor Author

Conclusion: The BeMessage::RowDescription is generated at another place, and it's inconsistent with rows/row_desc in handler.

@sheltonsuen
Copy link

by the way, this may not only cause IDE error, spring application may also rise error when creating connection pool,
Factory method 'entityManagerFactory' threw exception with message: Failed to initialize pool: Received resultset tuples, but no field structure for them

revert to 14.0 will solve this problem

@BugenZhao
Copy link
Member

revert to 14.0 will solve this problem

v1.5.0 should not have such issue. Would you please give it a try?

@TennyZhuang
Copy link
Contributor Author

#14111

The fix will be included in v1.5.2 and v1.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants