You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "A-little-bit-of-data (via GitHub)" <gi...@apache.org> on 2025/05/07 00:56:38 UTC
[I] How to set up Smart completion [superset]
A-little-bit-of-data opened a new issue, #33380:
URL: https://github.com/apache/superset/issues/33380
### Bug description
Hello Superset Community,
I don't know whether the current version 4.1.2 supports smart completion like hue. If it does, can you tell me where and how to set it up? If it doesn't, can this feature be considered for subsequent implementation?
I am currently using superset 4.1.2 and have encountered some problems. I would like to talk to you. When connecting to the trino data source, the schema must be selected on the left to get the table prompt. It is not like the hue below, which can start from the database name and continue to prompt until you find the table you want. In the subsequent release of the new version of superset, it can support whether it is connected to the trino data source or the traditional MySQL. This library table hierarchy can start from the first place and prompt from the catalog to the schema and then to the table, and there is no need to select a schema on the left side of the web before prompting.
Thank you very much!



### Screenshots/recordings
_No response_
### Superset version
4.1.2
### Python version
3.10
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How to set up Smart completion [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #33380:
URL: https://github.com/apache/superset/issues/33380#issuecomment-2860447253
Closing this since it's not a bug, but we can keep chatting on your [Discussion](https://github.com/apache/superset/discussions/33270) (which is the right place for this, thanks)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How to set up Smart completion [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #33380:
URL: https://github.com/apache/superset/issues/33380#issuecomment-2856719380
<!-- Answer -->
I found a similar unsolved discussion titled [Smart completion like hue](https://github.com/apache/superset/discussions/33270), which was last updated on April 29, 2025 <sup>[[1]](https://github.com/apache/superset/discussions/33270)</sup>.
Regarding your question, Superset version 4.1.2 does support an autocomplete feature for SQL queries. The autocomplete functionality includes schema and table suggestions, which are generated using the `useMemo` hook to map over available schema and table options. This feature provides suggestions with associated metadata like `name`, `value`, `score`, and `meta` <sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/SqlLab/components/AceEditorWrapper/useKeywords.ts)</sup>.
However, the current implementation requires selecting a schema on the left to get table prompts, which differs from Hue's behavior. There are no specific details available about plans to enhance this feature to match Hue's functionality in future releases <sup>[[1]](https://github.com/apache/superset/discussions/33270)</sup>.
If you want to adjust the behavior of the autocomplete feature, you can modify the autocomplete score weights in the configuration settings to prioritize different types of suggestions <sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/src/SqlLab/constants.ts)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/29c84270-0370-4fe8-8c01-12c7e6997246?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/29c84270-0370-4fe8-8c01-12c7e6997246?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/29c84270-0370-4fe8-8c01-12c7e6997246?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/29c84270-0370-4fe8-8c01-12c7e6997246?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/29c84270-0370-4fe8-8c01-12c7e6997246?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/29c84270-0370-4fe8-8c01-12c7e6997246?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/29c84270-0370-4fe8-8c01-12c7e6997246?feedback_type=other)</sup>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] How to set up Smart completion [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #33380: How to set up Smart completion
URL: https://github.com/apache/superset/issues/33380
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org