-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implement Select filter value auto-completion for SQL mode #3277
Implement Select filter value auto-completion for SQL mode #3277
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Schau bitte auch, ob du SQL auch gestreamt imlpementieren kannst.
public class ClusterStorageHandler implements StorageHandler { | ||
|
||
@Override | ||
public List<String> lookupColumnValues(NamespaceStorage namespaceStorage, Column column) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, das darf glaube ich keine Liste sein, die sind riesig. Kriegst du das mit Streams implementiert?
return ((StringStore) importColumn.getTypeDescription()).iterateValues(); | ||
}) | ||
storage.getStorageHandler() | ||
.lookupColumnValues(storage, this).stream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perfekt, du handlest das hier nur als stream weiter. Dann bitte auch als Stream ausgeben. Die haben potential riesig zu sein
@@ -47,6 +48,11 @@ public class FilterAutocompleteTest extends IntegrationTest.Simple implements Pr | |||
"b,lbl-6,ov-6" | |||
}; | |||
|
|||
@Override | |||
public Set<StandaloneSupport.Mode> forModes() { | |||
return Set.of(StandaloneSupport.Mode.WORKER, StandaloneSupport.Mode.SQL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
niceee!
backend/src/main/java/com/bakdata/conquery/mode/local/SqlStorageHandler.java
Outdated
Show resolved
Hide resolved
…geHandler.java Co-authored-by: awildturtok <1553491+awildturtok@users.noreply.github.com>
No description provided.