forked from apache/hudi
-
Notifications
You must be signed in to change notification settings - Fork 2
/
spark-long-running-non-partitioned.yaml
56 lines (56 loc) · 1.8 KB
/
spark-long-running-non-partitioned.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
dag_name: cow-spark-deltastreamer-long-running-multi-partitions.yaml
dag_rounds: 10
dag_intermittent_delay_mins: 1
dag_content:
first_insert:
config:
record_size: 200
num_partitions_insert: 1
repeat_count: 1
num_records_insert: 1000
type: SparkInsertNode
deps: none
first_upsert:
config:
record_size: 200
num_partitions_insert: 1
num_records_insert: 1000
repeat_count: 1
num_records_upsert: 1000
num_partitions_upsert: 1
type: SparkUpsertNode
deps: first_insert
first_delete:
config:
num_partitions_delete: 1
num_records_delete: 1000
type: SparkDeleteNode
deps: first_upsert
second_validate:
config:
validate_hive: false
delete_input_data: true
max_wait_time_for_deltastreamer_catch_up_ms: 600000
type: ValidateDatasetNode
deps: first_delete
last_validate:
config:
execute_itr_count: 6
max_wait_time_for_deltastreamer_catch_up_ms: 600000
type: ValidateAsyncOperations
deps: second_validate