dario-liberman commented on issue #11775:
URL: https://github.com/apache/pinot/issues/11775#issuecomment-1761999763

   > hmm. i am a bit confused. isn't the SQL you described above similar to 
https://calcite.apache.org/docs/reference.html#table-functions?
   > 
   > ```
   > select id,
   >   created_at_timestamp,
   >   cast(created_at_timestamp AS long) AS timeInMs,
   > from TABLE(
   >   HOP(
   >     TABLE githubEvents,
   >     DESCRIPTOR(created_at_timestamp), 
   >     INTERVAL '15' MINUTE,
   >     INTERVAL '60' MINUTE))
   > WHERE id = 7044874134
   > ```
   > 
   > was this proposed as a workaround b/c the non-support of table function 
for pinot currently?
   > 
   > BTW i dont understand what the 2 other argument `'1:MILLISECONDS:EPOCH'`, 
and `'1:SECONDS:EPOCH'` means
   
   Yes, that is the proposal, a simple workaround until we can do a bigger 
change like this.


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