Skip to content

Commit d7e9c6d

Browse files
committed
[doc]The DDL and DQL column names in the context do not match
1 parent e561ce3 commit d7e9c6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/table-design/table-types/log-table.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ CREATE TABLE log_table (
3535
item_id BIGINT,
3636
amount INT,
3737
address STRING,
38-
`timestamp` DATE
38+
dt DATE
3939
)
4040
WITH ('bucket.num' = '3');
4141
```
@@ -76,10 +76,10 @@ During query execution, query engines like Flink analyzes the query to identify
7676
For example the following streaming query:
7777

7878
```sql
79-
SELECT order_id, item_id FROM log_table WHERE timestamp > '2023-01-01';
79+
SELECT order_id, item_id FROM log_table WHERE dt > '2023-01-01';
8080
```
8181

82-
In this query, only the `order_id`, `item_id`, and `timestamp` columns are accessed. Other columns (e.g., `address`, `amount`) are pruned and not read from storage.
82+
In this query, only the `order_id`, `item_id`, and `dt` columns are accessed. Other columns (e.g., `address`, `amount`) are pruned and not read from storage.
8383

8484

8585
## Log Compression

0 commit comments

Comments
 (0)