-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
The "Emitting watermarks" feature can't be used in flink sql? #10219
Comments
@yeezychao: The feature should be available in Iceberg 1.5.0. Here is the PR, and there is an example there: #9346. Please let us know, if it is not working. |
Also, here is the documentation which describes what this feature can and can't do: https://iceberg.apache.org/docs/nightly/flink-queries/#emitting-watermarks |
@pvary Thank you for your reply. I understand what you mean and I have also read the doc. However, we want to implement a function similar to this demo and need to use flink sql for TUMBLE window aggregation. If you run window calculations by specifying the watermark field through options, I will get an exception. |
@yeezychao: Do you happen to know, what is needed from the connector side to make this work? |
@pvary I'm confused why computed columns and watermark specs are not supported in the FlinkCatalog.java code. |
What would be needed to support them? |
@pvary You're right! |
|
Maybe we could just implement the interface with the Sadly I don't have the bandwidth to test this out, but if you want to take a stab at it, I can review your PR. Thanks, Peter |
Is this not on the roadmap yet? |
Any updates? |
Hi @pvary ,I refer to 4625 and implement the computed column and declare the watermark strategy. I plan to align the logic of your implemented |
I'm not sure how Flink calculates these watermarks normally. The |
Query engine
flink 1.18.0
Question
Hi @stevenzwu In the latest version, use flink sql still cannot define watermarks. This is still not possible when our company wants to use flink sql to implement window aggregation to process ODS data. Are there plans to support this?
The text was updated successfully, but these errors were encountered: