tangdian commented on a change in pull request #3830: [TE] SQL Connector
backend and front end, supporting Presto, MySQL, H2, with sample data in H2
URL: https://github.com/apache/incubator-pinot/pull/3830#discussion_r271813566
##########
File path: thirdeye/thirdeye-pinot/src/main/resources/schema/create-schema.sql
##########
@@ -1,3 +1,5 @@
+create alias if not exists TO_UNIXTIME as $$ long
unix_timestamp(java.sql.Timestamp timestamp) { return
Review comment:
Yes, it is required by SqlUtils for H2 database to convert timestamp to unix
epoch time.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]