mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 13:46:02 +03:00
[GH-ISSUE #3689] Autocomplete GraphQL query returns empty proposals randomly #1298
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#1298
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @leonardoflores-shiphero on GitHub (Aug 21, 2025).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/3689
Description
When using autocomplete in CloudBeaver with a Redshift Serverless connection, sometimes the GraphQL query sqlCompletionProposals returns valid results, and other times it returns an empty list, even for the same query and position.
Steps to reproduce
1 - Connect to Redshift Serverless.
2 - Open SQL Editor and copy/paste a query such as:
3 - Trigger autocomplete after typing p. or b. in SELECT clause (do this a few times to trigger several requests)
4 - Inspect the GraphQL request querySqlCompletionProposals.
Expected/Desired Behavior
Expected behavior
Autocomplete should consistently return column suggestions for the given table alias.
Actual Behavior
Sometimes works → response contains a full list of proposals (columns like id, account_id, warehouse_id, etc.).
Sometimes fails → response contains an empty list of proposals:
Additional Information
Database: Redshift Serverless
Issue reproduces randomly, not tied to a specific alias or query.
Example queries and GraphQL requests attached below.
Examples:
querySqlCompletitionProposals_examples.json
CloudBeaver Version
CloudBeaver AWS Server - 25.1.0.202506100925
Additional context
Query manager database/URL: jdbc:postgresql://127.0.0.1:5432/cloudbeaver
Product name: CloudBeaver AWS Server
Security manager database/URL: jdbc:postgresql://127.0.0.1:5432/cloudbeaver
Query manager database/Driver: postgres-jdbc
Product version: 25.1.0.202506100925
Security manager database/Driver: postgres-jdbc
Query manager database/Product name: PostgreSQL
Security manager database/Product name: PostgreSQL
Query manager database/Product version: 16.8 (Debian 16.8-1.pgdg120+1)
Security manager database/Product version: 16.8 (Debian 16.8-1.pgdg120+1)
OS: Linux 6.8.0-1029-aws (amd64)
Memory available: 80Mb/1936Mb
Java version: 21.0.7 by Eclipse Adoptium (64bit)
JVM parameters: server/plugins/org.jkiss.dbeaver.launcher_1.0.30.202506100925.jar -product io.cloudbeaver.product.aws.product -data -web-config conf/cloudbeaver.conf -nl en -registryMultiLanguage
Deployment type: DOCKER
Install path: /opt/cloudbeaver/server
Workspace path: file:/opt/cloudbeaver/workspace/
@EvgeniaBzzz commented on GitHub (Aug 25, 2025):
Hi @leonardoflores-shiphero
Thank you for the detailed description 💙
This is a cursor position issue.
You can try to switch on a semantic completion engine. It provides more accurate suggestions, while the current one is mostly based on the position in a query.
If you prefer current (legacy) engine, as a workaround, you can retype the last symbol (dot in your case) - this will resend the request with the correct position and you'll get a list of proposals.
Please let us know if you experience the same unwanted behavior on semantic engine.
@leonardoflores-shiphero commented on GitHub (Aug 25, 2025):
Hi @EvgeniaBzzz ,
Thank you for your reply.
Can I do this in CloudBeaver AWS? I wasn’t able to find this configuration in the administration panel or in my profile settings.
Maybe it’s stored in a JSON file inside the container, but I’m not sure where to find it.
@EvgeniaBzzz commented on GitHub (Aug 26, 2025):
Sorry for the confusion 😃
For the AWS product, semantic autocomplete will be available in version 25.2.0, which will be released in two weeks.
@EvgeniaBzzz commented on GitHub (Sep 9, 2025):
Hi @leonardoflores-shiphero
Version 25.2.0 with new autocompletion engine is now available. Please check it out and let me know if it'll resolve your problem.
@EvgeniaBzzz commented on GitHub (Oct 16, 2025):
@leonardoflores-shiphero
Any news here?
@leonardoflores-shiphero commented on GitHub (Oct 16, 2025):
Hi @EvgeniaBzzz,
Last week we upgraded to the latest version and everything is working perfectly.
Thank you very much for your support and effort to resolve this issue.
We really appreciate the CloudBeaver team’s quick response and commitment.
@EvgeniaBzzz commented on GitHub (Oct 16, 2025):
That’s wonderful to hear!
We really appreciate your kind words and are glad everything’s running smoothly now.
Enjoy your DB magic with CloudBeaver! 🦫