shfshihuafeng opened a new issue, #2851:
URL: https://github.com/apache/drill/issues/2851

   Before submitting a bug report, please verify that you are using the most 
current version of Drill.  
   
   **Describe the bug**
   i create a http plugin named "http" and then use "use http" command to 
switch schema.
    i query http Data with "select * from http.sunrise",It report except
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. create plugin with name "http"
   2. use http
   3. select * from http.sunrise;
   
   **Expected behavior**
   
   apache drill> select * from http.sunrise;
   
+----------------------------------------------------------------------------------+--------+
   |                                     results                                
      | status |
   
+----------------------------------------------------------------------------------+--------+
   | {"sunrise":"5:42:47 AM","sunset":"5:52:15 PM","solar_noon":"11:47:31 
AM","day_length":"12:09:28","civil_twilight_begin":"5:21:47 
AM","civil_twilight_end":"6:13:15 PM","nautical_twilight_begin":"4:56:00 
AM","nautical_twilight_end":"6:39:02 PM","astronomical_twilight_begin":"4:30:08 
AM","astronomical_twilight_end":"7:04:54 PM"} | OK     |
   
+----------------------------------------------------------------------------------+--------+
   1 row selected (2.967 seconds)
   
   **Error detail, log output or screenshots**
   Error: CONNECTION ERROR: API 'http' does not exist in HTTP storage plugin 
'http'
   
   **Drill version**
   1.22.0
   
   **Additional context**
   http plugin config
   {
     "type": "http",
     "connections": {
       "sunrise": {
         "url": "https://api.sunrise-sunset.org/json";,
         "requireTail": false,
         "method": "GET",
         "params": [
           "lat",
           "lng",
           "date"
         ],
         "authType": "none",
         "inputType": "json",
         "xmlDataLevel": 1,
         "postParameterLocation": "QUERY_STRING",
         "verifySSLCert": true
       }
     },
     "timeout": 5,
     "retryDelay": 1000,
     "proxyType": "direct",
     "authMode": "SHARED_USER",
     "enabled": true
   }
   


-- 
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.apache.org

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

Reply via email to