-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cdc] Time related computed functions support to handle epoch time #2989
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
</thead> | ||
<tbody> | ||
<tr> | ||
<td><h5>year(time-column [, time-unit])</h5></td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you find some other systems to refer to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refer to Flink TO_TIMESTAMP_LTZ(numeric, precision)
, using precision as argument.
+1 |
Purpose
Current time expressions can only handle DATE and TIMESTAMP.
This PR aims to support handle numeric value as epoch time.
Tests
API and Format
For example:
time-unit: second (default), millis, micros, nanos
Documentation
CDC Ingestion -> Computed Functions