Forráskód Böngészése

HUE-6794 [editor] Update table stats upload with new assist format

Romain Rigaux 8 éve
szülő
commit
1aee214c74

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 1
desktop/libs/indexer/src/indexer/indexers/sql_tests.py


+ 2 - 2
desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

@@ -1769,14 +1769,14 @@ var EditorViewModel = (function() {
 
       $.post("/metadata/api/optimizer/upload/table_stats", {
         db_tables: ko.mapping.toJSON($.map(options.activeTables, function(table) {
-          return table.database.name + '.' + table.name;
+          return table.databaseName + '.' + table.tableName;
         })),
         sourcePlatform: ko.mapping.toJSON(self.type()),
         with_columns: ko.mapping.toJSON(true),
         with_ddl: ko.mapping.toJSON(true)
       }, function(data) {
         if (data.status == 0) {
-          $(document).trigger("info", $.map(options.activeTables, function(table) { return table.name; }) + " stats sent to analyse");
+          $(document).trigger("info", $.map(options.activeTables, function(table) { return table.tableName; }) + " stats sent to analyse");
           if (data.upload_table_ddl) {
             self.watchUploadStatus(data.upload_table_ddl.status.workloadId);
           }

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott