Github user brkyvz commented on the issue:
https://github.com/apache/spark/pull/15702
A very dumb question (I apologize), there is nothing stopping a user to
actually use processing time as watermarks with this API either. One can easily
do `df.withColumn("timestamp",
current_timestamp()).withWatermark("timestamp")`. I like that we're suggesting
users to use `eventTime` for stability, but we're not actually constraining
them, right?
My biggest confusion here, that I couldn't find documented was the Type of
the watermark column. Does it need to be timestamp type or can it be LongType?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]