Skip to content

Fix incorrect timestamp usage in window function documentation #2056

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

saheli9064
Copy link

Fix incorrect timestamp usage in docs
Issue
Fixes #2006

Changes
Replaced timestamp with datetime in the window function docs.
Updated SQL examples to match Doris's supported data types.
Reason:
Doris does not support timestamp, and the current docs are misleading.

@KassieZ
Copy link
Contributor

KassieZ commented Apr 23, 2025

@morrySnow request review

@@ -51,7 +51,7 @@ Returns the same data type as the input expression.
1. Assume we have the following stock data, with stock symbol JDR and daily closing prices:

```sql
create table stock_ticker (stock_symbol string, closing_price decimal(8,2), closing_date timestamp);
create table stock_ticker (stock_symbol string, closing_price decimal(8,2), closing_date datetime);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把所有版本都修一下?

@KassieZ KassieZ added has comments Some comments not resolved yet and removed request review labels Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has comments Some comments not resolved yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue on docs window-function
3 participants