You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/05/31 17:14:33 UTC

[GitHub] [incubator-pinot] pedro93 opened a new issue #7000: Specify dateTime field as human readable string

pedro93 opened a new issue #7000:
URL: https://github.com/apache/incubator-pinot/issues/7000


   Hello,
   
   Following a discussion on [this thread](https://apache-pinot.slack.com/archives/C011C9JHN7R/p1622466597303800) I would like to propose an enhancement wherein a pinot operator can define a dateTimeField in a schema and have its result being shown to the Pinot user at query time as a human readable string while at the same time being able to use date time transformations as mentioned [here](https://docs.pinot.apache.org/users/user-guide-query/supported-transformations#datetime-functions).
   
   As an example:
   I.e: Showing to the user a date time field in the format: yyyy-MM-dd on which they can do `year(field)` or `month(field)` transformations
   Where a query like: `select year(dateBirth), dateBirth from table where...`
   outputs: `1982 | 1982-02-13`
   
   Thank you.


-- 
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:
users@infra.apache.org



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