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 a65978dbc0b8c0a8113b208b6ffcde6bdd8a7545
Author: Qian Xia <lauraxiaq...@gmail.com>
AuthorDate: Wed Apr 12 16:49:38 2023 +0800

    KYLIN-5507 bulid snapshot values issue
---
 kystudio/src/components/studio/snapshot/SnapshotModel/SnapshotModel.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/kystudio/src/components/studio/snapshot/SnapshotModel/SnapshotModel.vue 
b/kystudio/src/components/studio/snapshot/SnapshotModel/SnapshotModel.vue
index 6c0237370d..f7e891e3eb 100644
--- a/kystudio/src/components/studio/snapshot/SnapshotModel/SnapshotModel.vue
+++ b/kystudio/src/components/studio/snapshot/SnapshotModel/SnapshotModel.vue
@@ -715,7 +715,7 @@ export default class SnapshotModel extends Vue {
           partitions_to_build: item.partition_column ? item.partition_values : 
null
         }
       })
-      const incrementalBuildErrorList = Object.keys(options).filter(key => 
options[key].incremental_build && options[key].partitions_to_build.length === 0)
+      const incrementalBuildErrorList = Object.keys(options).filter(key => 
options[key].incremental_build && options[key].partitions_to_build && 
options[key].partitions_to_build.length === 0)
       this.incrementalBuildErrorList = incrementalBuildErrorList
       if (incrementalBuildErrorList.length > 0) return
       this.submitLoading = true

Reply via email to