Class SpannerTruncFunction

All Implemented Interfaces:
FunctionRenderer, SqmFunctionDescriptor

public class SpannerTruncFunction extends AbstractSqmSelfRenderingFunctionDescriptor
The trunc function for Spanner. It renders DATE_TRUNC for dates, TIMESTAMP_TRUNC for timestamps, and TRUNC for numeric types.