You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/12/05 21:57:03 UTC

[GitHub] [incubator-druid] clintropolis commented on a change in pull request #8994: update web-console data loader to support unified s3 and google input sources

clintropolis commented on a change in pull request #8994: update web-console data loader to support unified s3 and google input sources
URL: https://github.com/apache/incubator-druid/pull/8994#discussion_r354568299
 
 

 ##########
 File path: web-console/src/utils/ingestion-spec.tsx
 ##########
 @@ -1173,11 +1174,34 @@ export function getIoConfigFormFields(ingestionComboType: IngestionComboType): F
           type: 'string-array',
           placeholder: 's3://your-bucket/some-path1, s3://your-bucket/some-path2',
           required: true,
-          defined: ioConfig => !deepGet(ioConfig, 'inputSource.uris'),
+          defined: ioConfig =>
+            !deepGet(ioConfig, 'inputSource.uris') && !deepGet(ioConfig, 'inputSource.objects'),
           info: (
             <>
               <p>A list of paths (with bucket) where your files are stored.</p>
-              <p>Either S3 URIs or S3 prefixes must be set.</p>
+              <p>Either S3 URIs or prefixes or objects must be set.</p>
+            </>
+          ),
+        },
+        {
+          name: 'inputSource.objects',
+          label: 'S3 objects',
+          type: 'json',
+          required: true,
 
 Review comment:
   <img width="290" alt="Screen Shot 2019-12-05 at 1 40 28 PM" src="https://user-images.githubusercontent.com/1577461/70277358-17684080-1767-11ea-9eb4-9e6b41e0bee4.png">
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org