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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to