Переглянути джерело

HUE-9291 [editor] Fix issue where non streaming results are flagged as streaming in editor v2

Johan Ahlen 5 роки тому
батько
коміт
f2dd9f6a54

+ 1 - 1
desktop/core/src/desktop/js/apps/notebook2/components/resultGrid/ko.resultGrid.js

@@ -605,7 +605,7 @@ class ResultGrid extends DisposableComponent {
         dataTable.fnAddData(
           initial && this.data().length ? this.data() : this.lastFetchedRows(),
           undefined,
-          this.streaming,
+          ko.unwrap(this.streaming),
           STREAMING_MAX_ROWS
         );
       } catch (e) {}