Эх сурвалжийг харах

[assist] Fix table preview for Hive

Johan Ahlen 10 жил өмнө
parent
commit
3812d3b

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/assist/assistEntry.js

@@ -273,7 +273,7 @@
     $assistQuickLook.attr("style", "width: " + ($(window).width() - 120) + "px;margin-left:-" + (($(window).width() - 80) / 2) + "px!important;");
 
     self.assistSource.assistHelper.fetchTableHtmlPreview({
-      sourceType: self.assistSource.type,
+      sourceType: self.assistSource.type === "hive" ? "beeswax" : self.assistSource.type,
       databaseName: databaseName,
       tableName: tableName,
       successCallback: function(data) {