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
[FLINK-8850] [sql-client] Add support for event-time in SQL Client #5683
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.
Thanks for the PR @twalthr. Looks good, but I would remove the ingestion time support for now.
Best, Fabian
# 'batch' or 'streaming' execution | ||
type: streaming | ||
# allow 'event-time', 'ingestion-time', or only 'processing-time' in sources | ||
time-characteristic: event-time |
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.
event-time
or processing-time
? What effect would ingestion time have?
switch (s) { | ||
case PropertyStrings.EXECUTION_TIME_CHARACTERISTIC_VALUE_EVENT_TIME: | ||
return TimeCharacteristic.EventTime; | ||
case PropertyStrings.EXECUTION_TIME_CHARACTERISTIC_VALUE_INGESTION_TIME: |
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.
Remove ingestion time?
|
||
public static final String EXECUTION_TIME_CHARACTERISTIC_VALUE_PROCESSING_TIME = "processing-time"; | ||
|
||
public static final String EXECUTION_TIME_CHARACTERISTIC_VALUE_INGESTION_TIME = "ingestion-time"; |
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.
remove?
Thanks @fhueske. Merging this... |
What is the purpose of the change
Adds support for event-time in SQL Client. A full end-to-end test should and will follow once we support event-time in the CSVTableSourceFactory.
Brief change log
time-characteristic
propertyVerifying this change
DependencyTest
extendedDoes this pull request potentially affect one of the following parts:
@Public(Evolving)
: noDocumentation