You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by xx...@apache.org on 2023/04/21 08:49:09 UTC

[kylin] 09/17: KYLIN-5508 show the query time of failed sql

This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch kylin5
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit eb07871c712211131fed85427e18709f4b59ad75
Author: Qian Xia <la...@gmail.com>
AuthorDate: Wed Apr 12 17:08:00 2023 +0800

    KYLIN-5508 show the query time of failed sql
---
 kystudio/src/components/query/query_history_table.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kystudio/src/components/query/query_history_table.vue b/kystudio/src/components/query/query_history_table.vue
index b121aa337a..b20bd9f7bd 100644
--- a/kystudio/src/components/query/query_history_table.vue
+++ b/kystudio/src/components/query/query_history_table.vue
@@ -178,8 +178,8 @@
       </el-table-column>
       <el-table-column :renderHeader="renderColumn2" prop="duration" align="right" width="100">
         <template slot-scope="props">
-          <span v-if="props.row.duration < 1000 && props.row.query_status === 'SUCCEEDED'">&lt; 1s</span>
-          <span v-if="props.row.duration >= 1000 && props.row.query_status === 'SUCCEEDED'">{{props.row.duration / 1000 | fixed(2)}}s</span>
+          <span v-if="props.row.duration < 1000">&lt; 1s</span>
+          <span v-if="props.row.duration >= 1000">{{props.row.duration / 1000 | fixed(2)}}s</span>
           <!-- <span v-if="props.row.query_status === 'FAILED'">Failed</span> -->
         </template>
       </el-table-column>