This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 3265f06cadd [hotfix][docs] Fix OPTIONS hint key in time attributes docs
3265f06cadd is described below
commit 3265f06cadd23a1979e6569b73990d044c73d293
Author: Rango <[email protected]>
AuthorDate: Fri Aug 28 15:56:24 2026 +0800
[hotfix][docs] Fix OPTIONS hint key in time attributes docs
---
docs/content/docs/concepts/sql-table-concepts/time_attributes.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/content/docs/concepts/sql-table-concepts/time_attributes.md
b/docs/content/docs/concepts/sql-table-concepts/time_attributes.md
index 9c65784df69..069e294ca70 100644
--- a/docs/content/docs/concepts/sql-table-concepts/time_attributes.md
+++ b/docs/content/docs/concepts/sql-table-concepts/time_attributes.md
@@ -60,7 +60,7 @@ Event time attributes can be defined in `CREATE` table DDL or
during DataStream-
The event time attribute is defined using a `WATERMARK` statement in `CREATE`
table DDL. A watermark statement defines a watermark generation expression on
an existing event time field, which marks the event time field as the event
time attribute. Please see [CREATE TABLE DDL]({{< ref
"docs/sql/reference/ddl/create" >}}#create-table) for more information about
watermark statement and watermark strategies.
Flink supports defining event time attribute on TIMESTAMP column and
TIMESTAMP_LTZ column.
-If the timestamp data in the source is represented as
year-month-day-hour-minute-second, usually a string value without time-zone
information, e.g. `2020-04-15 20:13:40.564`, it's recommended to define the
event time attribute as a `TIMESTAMP` column::
+If the timestamp data in the source is represented as
year-month-day-hour-minute-second, usually a string value without time-zone
information, e.g. `2020-04-15 20:13:40.564`, it's recommended to define the
event time attribute as a `TIMESTAMP` column:
```sql
CREATE TABLE user_actions (
@@ -184,7 +184,7 @@ Of course, you can also still use the `OPTIONS` hint.
```sql
-- use 'OPTIONS' hint
-select ... from source_table /*+
OPTIONS('scan.watermark.alignment.group'='alignment-group-1',
'scan.watermark.alignment.max-drift'='1min', 'scan.
watermark.alignment.update-interval'='1s') */
+select ... from source_table /*+
OPTIONS('scan.watermark.alignment.group'='alignment-group-1',
'scan.watermark.alignment.max-drift'='1min',
'scan.watermark.alignment.update-interval'='1s') */
```
There are three parameters :