Skip to content

Commit 4bc1d8d

Browse files
Merge pull request #6 from aws/master
2 parents ba4028a + c359d33 commit 4bc1d8d

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v2.59.8 (2021-10-07)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* fix feature store ingestion via data wrangler test
8+
39
## v2.59.7 (2021-10-04)
410

511
### Bug Fixes and Other Changes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.59.8.dev0
1+
2.59.9.dev0

tests/integ/test_workflow.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2116,6 +2116,7 @@ def test_one_step_ingestion_pipeline(
21162116
input_data_uri = os.path.join(
21172117
"s3://", sagemaker_session.default_bucket(), "py-sdk-ingestion-test-input/features.csv"
21182118
)
2119+
21192120
with open(input_file_path, "r") as data:
21202121
body = data.read()
21212122
S3Uploader.upload_string_as_file_body(
@@ -2152,6 +2153,10 @@ def test_one_step_ingestion_pipeline(
21522153
)
21532154
]
21542155

2156+
output_content_type = "CSV"
2157+
output_config = {output_name: {"content_type": output_content_type}}
2158+
job_argument = [f"--output-config '{json.dumps(output_config)}'"]
2159+
21552160
temp_flow_path = "./ingestion.flow"
21562161
with cleanup_feature_group(feature_group):
21572162
json.dump(ingestion_only_flow, open(temp_flow_path, "w"))
@@ -2166,7 +2171,11 @@ def test_one_step_ingestion_pipeline(
21662171
)
21672172

21682173
data_wrangler_step = ProcessingStep(
2169-
name="ingestion-step", processor=data_wrangler_processor, inputs=inputs, outputs=outputs
2174+
name="ingestion-step",
2175+
processor=data_wrangler_processor,
2176+
inputs=inputs,
2177+
outputs=outputs,
2178+
job_arguments=job_argument,
21702179
)
21712180

21722181
pipeline = Pipeline(

0 commit comments

Comments
 (0)