From 4adb121234947402a65a9fad4f7c765e9a0dc922 Mon Sep 17 00:00:00 2001 From: imply-jbalik <79473252+imply-jbalik@users.noreply.github.com> Date: Wed, 5 May 2021 21:19:31 -0700 Subject: [PATCH] Fix example of prefixes for Cloud Input Sources(eg. S3) (#11192) Fixed a syntax error in "prefix" lines in docs/ingestion/native-batch.md S3 requires a trailing slash for directory like structures, so this updates the examples to include the trailing slashes. --- docs/ingestion/native-batch.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ingestion/native-batch.md b/docs/ingestion/native-batch.md index 48539bb23e7..7039bfb2333 100644 --- a/docs/ingestion/native-batch.md +++ b/docs/ingestion/native-batch.md @@ -864,7 +864,7 @@ Sample specs: "type": "index_parallel", "inputSource": { "type": "s3", - "prefixes": ["s3://foo/bar", "s3://bar/foo"] + "prefixes": ["s3://foo/bar/", "s3://bar/foo/"] }, "inputFormat": { "type": "json" @@ -954,7 +954,7 @@ Sample specs: "type": "index_parallel", "inputSource": { "type": "google", - "prefixes": ["gs://foo/bar", "gs://bar/foo"] + "prefixes": ["gs://foo/bar/", "gs://bar/foo/"] }, "inputFormat": { "type": "json" @@ -1033,7 +1033,7 @@ Sample specs: "type": "index_parallel", "inputSource": { "type": "azure", - "prefixes": ["azure://container/prefix1", "azure://container/prefix2"] + "prefixes": ["azure://container/prefix1/", "azure://container/prefix2/"] }, "inputFormat": { "type": "json"