Skip to content

Commit baa1751

Browse files
authored
comment out potential race condition until further investigation in enrichment test (#36907)
1 parent c72970d commit baa1751

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

sdks/python/apache_beam/yaml/extended_tests/data/enrichment.yaml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -44,44 +44,44 @@ pipelines:
4444
project: "apache-beam-testing"
4545
temp_location: "{TEMP_DIR}"
4646

47-
- pipeline:
48-
type: chain
49-
transforms:
50-
- type: Create
51-
name: Data
52-
config:
53-
elements:
54-
- {label: '11a', name: 'S1'}
55-
- {label: '37a', name: 'S2'}
56-
- {label: '389a', name: 'S3'}
57-
- type: Enrichment
58-
name: Enriched
59-
config:
60-
enrichment_handler: 'BigQuery'
61-
handler_config:
62-
project: apache-beam-testing
63-
table_name: "{BQ_TABLE}"
64-
fields: ['label']
65-
row_restriction_template: "label = '37a'"
66-
timeout: 30
47+
# - pipeline:
48+
# type: chain
49+
# transforms:
50+
# - type: Create
51+
# name: Data
52+
# config:
53+
# elements:
54+
# - {label: '11a', name: 'S1'}
55+
# - {label: '37a', name: 'S2'}
56+
# - {label: '389a', name: 'S3'}
57+
# - type: Enrichment
58+
# name: Enriched
59+
# config:
60+
# enrichment_handler: 'BigQuery'
61+
# handler_config:
62+
# project: apache-beam-testing
63+
# table_name: "{BQ_TABLE}"
64+
# fields: ['label']
65+
# row_restriction_template: "label = '37a'"
66+
# timeout: 30
6767

68-
- type: MapToFields
69-
config:
70-
language: python
71-
fields:
72-
label:
73-
callable: 'lambda x: x.label'
74-
output_type: string
75-
rank:
76-
callable: 'lambda x: x.rank'
77-
output_type: integer
78-
name:
79-
callable: 'lambda x: x.name'
80-
output_type: string
68+
# - type: MapToFields
69+
# config:
70+
# language: python
71+
# fields:
72+
# label:
73+
# callable: 'lambda x: x.label'
74+
# output_type: string
75+
# rank:
76+
# callable: 'lambda x: x.rank'
77+
# output_type: integer
78+
# name:
79+
# callable: 'lambda x: x.name'
80+
# output_type: string
8181

82-
- type: AssertEqual
83-
config:
84-
elements:
85-
- {label: '37a', rank: 1, name: 'S2'}
86-
options:
87-
yaml_experimental_features: [ 'Enrichment' ]
82+
# - type: AssertEqual
83+
# config:
84+
# elements:
85+
# - {label: '37a', rank: 1, name: 'S2'}
86+
# options:
87+
# yaml_experimental_features: [ 'Enrichment' ]

0 commit comments

Comments
 (0)