shfshihuafeng commented on issue #2851:
URL: https://github.com/apache/drill/issues/2851#issuecomment-1827601211

   
   index ef6368d63..de764db2e 100644
   --- 
a/contrib/storage-http/src/main/java/org/apache/drill/exec/store/http/HttpSchemaFactory.java
   +++ 
b/contrib/storage-http/src/main/java/org/apache/drill/exec/store/http/HttpSchemaFactory.java
   @@ -85,7 +85,7 @@ public class HttpSchemaFactory extends 
AbstractSchemaFactory {
          HttpAPIConnectionSchema subSchema = subSchemas.get(name);
          if (subSchema != null) {
            return subSchema;
   -      } else if (tables.containsKey(name)) {
   +      } else if (tables.containsKey(name) || plugin.getName().equals(name)) 
{
            return null;
          } else {
            throw UserException


-- 
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: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to