HJK181 commented on issue #7262:
URL: https://github.com/apache/pinot/issues/7262#issuecomment-896512330


   @Jackie-Jiang Do you have an idea why this is necessary? When I look at your 
example data, no transformation should be needed, just name fields 
dot-separated, e.g. query.userQuery as I did. Here is a small snippet of what 
`avro cat` prints for my data:
   ```
   {
     "query": {
       "userQuery": "picknick decke",
       "masterQuery": null,
       "mappingTime": -1
     },
     "kpis": {
       "clicks": 3,
       "checkout": 0,
       "cart": 10
     }
   }
   {
     "query": {
       "userQuery": "100243020",
       "masterQuery": null,
       "mappingTime": -1
     },
     "kpis": {
       "clicks": 1,
       "checkout": 0,
       "cart": 0
     }
   }
   {
     "query": {
       "userQuery": "foo",
       "masterQuery": bar,
       "mappingTime": 1617418890
     },
     "kpis": {
       "clicks": 10,
       "checkout": 1,
       "cart": 2
     }
   }
   ```


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