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

   Hello Guys,
   Could you please help me to create the correct 
“[dataPath](https://drill.apache.org/docs/http-storage-plugin/)” for Drill 
http-storage-plugin?
   I have a JSON response like:
   ```
   {
       "1": {
           "id": 1,
           "employeeId": 1,
           "firstName": "John",
           "lastName": "Doe",
           "email": "john....@bamboohr.com",
           "status": "enabled",
           "lastLogin": "2011-03-19T10:16:00+00:00"
       },
       "2": {
           "id": 2,
           "firstName": "Jane",
           "lastName": "Doe",
           "email": "jane....@bamboohr.com",
           "status": "enabled",
           "lastLogin": "2011-08-29T11:17:43+00:00"
       }
   }
   ```
   https://documentation.bamboohr.com/reference/get-a-list-of-users-1
   And I need that only field id, employeeId, firstName, lastName, email, 
status, lastLogin returns.
   
   I have tried to use the following configuration, but it doesn’t return any 
data.
   `"dataPath": "$.*.{id, employeeId, firstName, lastName, email, status, 
lastLogin}"`
   Can I use some expressions to return only required fields?


-- 
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