hnakamor commented on issue #13230:
URL: https://github.com/apache/druid/issues/13230#issuecomment-1280990301
@gianm Thank you for your response.
Your idea is great.
And it would be even more useful if we could apply the "sqlTimeZone" context.
Here is the first query and context I tried.
````
INSERT INTO inline_data
WITH ext AS (SELECT *
FROM TABLE(
EXTERN(
'{"type": "inline", "data":"{\"time\":\"2000-01-01T15:00:00\"}"}',
'{"type": "json"}',
'[{"name": "time", "type": "string"}]'
)
))
SELECT TIME_PARSE("time") AS __time
FROM ext
PARTITIONED BY DAY
````
```
{
"sqlTimeZone":"+09:00"
}
```
The above result was `2000-01-02T00:00:00.000Z/2000-01-03T00:00:00.000Z`,
but I expected `2000-01-01T15:00:00.000Z/2000-01-02T15:00:00.000Z` or
`2000-01-02T00:00:00.000+09:00/2000-01-03T00:00:00.000+09:00`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]