etadelta222 commented on issue #7606:
URL: https://github.com/apache/pinot/issues/7606#issuecomment-949044533


   Thanks Jackie, I'll give this a shot. I was able to use the following as a 
workaround:
   
   `"ingestionConfig": {
           "transformConfigs": [
             {
               "columnName": "dob",
               "transformFunction": "Groovy({date_of_birth != 'null' ? new 
Date(date_of_birth).format('yyyy-MM-dd'):'1900-01-01'},date_of_birth)"
             }
           ]
         },`
   
   I'd prefer not to create a new column just to show a formatted date.


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

Reply via email to