You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "vogievetsky (via GitHub)" <gi...@apache.org> on 2023/05/08 18:16:20 UTC

[GitHub] [druid] vogievetsky opened a new pull request, #14224: Web console: account for auto allowing for leading and trailing spaces

vogievetsky opened a new pull request, #14224:
URL: https://github.com/apache/druid/pull/14224

   So it turns out that the `auto` time format allows for leading and trailing spaces. Account for it in the data loader and in the spec converter. Add `TRIM(...)` to make the SQL equivalent.
   
   I used this as a test dataset:
   
   ```json
   {"t":"2021-03-01 00:00:01.200","type":"nothing"}
   {"t":"2021-03-01 00:00:02.200 ","type":"trailing space"}
   {"t":" 2021-03-01 00:00:03.200","type":"leading space"}
   {"t":" 2021-03-01 00:00:04.200 ","type":"leading and trailing spaces"}
   ```


-- 
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-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] vogievetsky merged pull request #14224: Web console: account for auto allowing for leading and trailing spaces

Posted by "vogievetsky (via GitHub)" <gi...@apache.org>.
vogievetsky merged PR #14224:
URL: https://github.com/apache/druid/pull/14224


-- 
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-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org