Skip to content
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

[Bug]: flink grammar 语法飘红细节优化 #382

Open
liuxy0551 opened this issue Jan 2, 2025 · 0 comments
Open

[Bug]: flink grammar 语法飘红细节优化 #382

liuxy0551 opened this issue Jan 2, 2025 · 0 comments
Assignees

Comments

@liuxy0551
Copy link
Collaborator

Version

latest

Which SQL?

Flink

SQL content

select
      request_id,
      click_time,
      date_format (click_time, 'yyyy-MM-dd') as click_date,
      cast(wid as bigint) as wid,
      query,
      row_number() over (
        partition by
          wid,
          date_format (click_time, 'yyyy-MM-dd')
        order by
          click_time
      ) as ranks
    from
      search_product
    where
      wid is not null
      and wid <> 'None'
      and date_format (click_time, 'yyyy-MM-dd') >= to_date ('2024-12-04', 'yyyy-MM-dd');

JavaScript/TypeScript code

No response

What happened?

期望正确的语法不飘红

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants