gortiz commented on issue #14677:
URL: https://github.com/apache/pinot/issues/14677#issuecomment-2565191393

   I don't get it. Could you describe the task further?
   
   Does it affect the broker and controller rest api? The GRPC direct access? 
The current REST format is something like:
   
   ```json
   {
     "resultTable": {
       "dataSchema": {
         "columnNames": [
           "c1",
           "c2"
         ],
         "columnDataTypes": [
           "INT",
           "STRING"
         ]
       },
       "rows": [
         [
           208,
           "a"
         ],
         [
           243,
           "b"
         ],
         [
           279,
           "c"
         ]
       ]
     }
   }
   ```
   
   Do you suggest to change it to something like:
   
   ```json
   {
     "resultTable": {
       "dataSchema": {
         "columnNames": [
           "c1",
           "c2"
         ],
         "columnDataTypes": [
           "INT",
           "STRING"
         ]
       },
       "columns": [
         [
           208,
           243,
           279
         ],
         [
           "a",
           "b",
           "c"
         ]
       ]
     },
   ```
   ?
   
   That could be done with a query param, but we could also return the same 
data in arrow format by changing the `Accept: application/json` to `Accept: 
application/vnd.apache.arrow.stream` or `Accept: 
application/vnd.apache.arrow.file`
   


-- 
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: commits-unsubscr...@pinot.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to