LASTWITHTIME
This section contains reference documentation for the lastwithtime function.
Signature
Example
select LASTWITHTIME(group_name, __metadata$recordTimestamp, 'STRING')
from meetupRsvp value
Was this helpful?
This section contains reference documentation for the lastwithtime function.
Returns the value of dataColumn with the largest timeColumn value where:
timeColumn is used to define the time of dataColumn, which can be of type TIMESTAMP, INT, LONG
dataType specifies the type for dataColumn, which can be BOOLEAN, INT, LONG, FLOAT, DOUBLE, STRING
LASTWITHTIME(dataColumn, timeColumn, 'dataType')
This example is based on the Streaming Quick Start.
select LASTWITHTIME(group_name, __metadata$recordTimestamp, 'STRING')
from meetupRsvp group_name809822304
Was this helpful?
Was this helpful?

