|
|
@@ -494,13 +494,13 @@ var MetastoreViewModel = (function () {
|
|
|
self.optimizerDetails(ko.mapping.fromJS(data.details));
|
|
|
|
|
|
// Bump the most important columns first
|
|
|
- var topCol = self.optimizerDetails().topColumns().slice(0, 5);
|
|
|
- if (topCol.length >= 3 && self.favouriteColumns().length > 0) {
|
|
|
- self.favouriteColumns($.grep(self.columns(), function(col) {
|
|
|
- return topCol.indexOf(col.name()) != -1;
|
|
|
- })
|
|
|
- );
|
|
|
- }
|
|
|
+// var topCol = self.optimizerDetails().topColumns().slice(0, 5);
|
|
|
+// if (topCol.length >= 3 && self.favouriteColumns().length > 0) {
|
|
|
+// self.favouriteColumns($.grep(self.columns(), function(col) {
|
|
|
+// return topCol.indexOf(col.name()) != -1;
|
|
|
+// })
|
|
|
+// );
|
|
|
+// }
|
|
|
// Column popularity, stats
|
|
|
// $.each(self.optimizerDetails().topColumns(), function(index, optimizerCol) {
|
|
|
// var metastoreCol = $.grep(self.columns(), function(col) {
|