Explorar el Código

HUE-8758 [connector] Fix issue with popular columns and tables in editor v2

Johan Ahlen hace 5 años
padre
commit
a03775b53d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      desktop/core/src/desktop/js/sql/autocompleteResults.js

+ 2 - 2
desktop/core/src/desktop/js/sql/autocompleteResults.js

@@ -1759,7 +1759,7 @@ class AutocompleteResults {
 
     self.cancellablePromises.push(
       dataCatalog
-        .getCatalog(self.dialect(), self.snippet.connector())
+        .getCatalog(self.snippet.connector())
         .loadOptimizerPopularityForTables({
           namespace: self.snippet.namespace(),
           compute: self.snippet.compute(),
@@ -2048,7 +2048,7 @@ class AutocompleteResults {
 
       self.cancellablePromises.push(
         dataCatalog
-          .getCatalog(self.dialect(), self.snippet.connector())
+          .getCatalog(self.snippet.connector())
           .loadOptimizerPopularityForTables({
             namespace: self.snippet.namespace(),
             compute: self.snippet.compute(),