clintropolis commented on a change in pull request #11620:
URL: https://github.com/apache/druid/pull/11620#discussion_r695525750
##########
File path: web-console/src/druid-models/lookup-spec.tsx
##########
@@ -63,6 +63,22 @@ export interface LookupSpec {
readonly injective?: boolean;
}
+function issueWithUri(uri: string): string | undefined {
+ if (!uri) return;
+ const m = /^(\w+):/.exec(uri);
+ if (!m) return `URI is invalid, must start with 'file:', 'hdfs:', or 's3:'`;
+ if (!oneOf(m[1], 'file', 'hdfs', 's3')) {
Review comment:
since #11026 google cloud lookups are also supported
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]