You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ab...@apache.org on 2022/02/14 09:24:35 UTC
[tez] branch branch-0.9 updated: TEZ-4379 Tez Hive Queries query page rows does not go over (#183) (Csaba Juhasz, Gergely Hanko reviewed by Laszlo Bodor)
This is an automated email from the ASF dual-hosted git repository.
abstractdog pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/tez.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new c4a1b04 TEZ-4379 Tez Hive Queries query page rows does not go over (#183) (Csaba Juhasz, Gergely Hanko reviewed by Laszlo Bodor)
c4a1b04 is described below
commit c4a1b04d6cdba2da77adc422a18bb482eecdf5cb
Author: ghanko <54...@users.noreply.github.com>
AuthorDate: Mon Feb 14 10:23:54 2022 +0100
TEZ-4379 Tez Hive Queries query page rows does not go over (#183) (Csaba Juhasz, Gergely Hanko reviewed by Laszlo Bodor)
---
tez-ui/src/main/webapp/app/routes/server-side-ops.js | 2 +-
tez-ui/src/main/webapp/tests/unit/routes/server-side-ops-test.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tez-ui/src/main/webapp/app/routes/server-side-ops.js b/tez-ui/src/main/webapp/app/routes/server-side-ops.js
index 85b4d03..161b7b7 100644
--- a/tez-ui/src/main/webapp/app/routes/server-side-ops.js
+++ b/tez-ui/src/main/webapp/app/routes/server-side-ops.js
@@ -74,7 +74,7 @@ export default AbstractRoute.extend({
return this.load(null, query).then(function (data) {
if(that.get("controller.loadingMore")) {
that.set("controller.loadingMore", false);
- that.get("loadedValue").pushObjects(data);
+ that.get("loadedValue").pushObjects(data.content);
return data;
}
});
diff --git a/tez-ui/src/main/webapp/tests/unit/routes/server-side-ops-test.js b/tez-ui/src/main/webapp/tests/unit/routes/server-side-ops-test.js
index 59e04f7..055da43 100644
--- a/tez-ui/src/main/webapp/tests/unit/routes/server-side-ops-test.js
+++ b/tez-ui/src/main/webapp/tests/unit/routes/server-side-ops-test.js
@@ -136,7 +136,7 @@ test('loadNewPage test', function(assert) {
let currentQuery = {
val: {}
},
- data = [],
+ data = {content: []},
fromId = "id1",
route = this.subject({
controller: Ember.Object.create(),
@@ -144,7 +144,7 @@ test('loadNewPage test', function(assert) {
fromId: fromId,
loadedValue: {
pushObjects: function (objs) {
- assert.equal(data, objs);
+ assert.equal(data.content, objs);
}
},
load: function (value, query) {