avalanchy opened a new issue #11281:
URL: https://github.com/apache/druid/issues/11281


   The only example I found for inline datasource is in the querying datasource 
page, but it does not contain a time column 
https://druid.apache.org/docs/latest/querying/datasource.html#inline.
   
   I tried to use `__time` name with a timestamp, millisecond precision 
timestamp, or ISO8601 but without luck, at least for no `timeBoundary` query.
   
   ```json
   {
     "dataSource": {
       "columnNames": [
         "__time",
         "val"
       ],
       "rows": [
         [
           1556668800000,
           123
         ],
         [
           1559347200000,
           456
         ],
         [
           1561939200000,
           789
         ]
       ],
       "type": "inline"
     },
     "queryType": "timeBoundary"
   }
   ```
   Actual results
   |maxTime               |minTime     |
   |----------------------|------------|
   |146140482-04-24T15:36:27.902Z|-146136543-09-08T08:23:32.096Z|
   
   Expected results
   |maxTime               |minTime     |
   |----------------------|------------|
   |2019-07-01T00:00:00.000Z|2019-05-01T00:00:00.000Z|
   
   


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to