Skip to content

WITH ROLLUP clause #1907

Closed
Closed

Description

@sywshu

Always check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram

Failing SQL Feature:

  • Brief description of the failing SQL feature
  • Example: WITH ROLLUP can't be parsed

SQL Example:

  • Simplified Query Example, focusing on the failing feature
    SELECT
    _wstart as ts ,avg(water_level) as water_level  ,avg(water_level_elevation) as water_level_elevation,avg(battery) as battery
    
    from 
    db_cellar_platform.t_cellar_history_data 

WHERE
device_id = 1727627810982203393
AND ts >= '2023-11-28 00:00:00'
AND ts <= '2023-11-28 23:59:59' INTERVAL ( 1d ) fill ( prev )

Software Information:

  • JSqlParser version
  • v3.5.10
  • Database (e. g. Oracle, MS SQL Server, H2, PostgreSQL, IBM DB2 )
  • tdenginer

Tips:

Please write in English and avoid Screenshots (as we can't copy and paste content from it).
Try your example online with the latest JSQLParser and share the link in the error report.
Do provide Links or References to the specific Grammar and Syntax you are trying to use.

Activity

  1. manticore-projects commented on Dec 5, 2023

    @manticore-projects
    Contributor

    Greetings,

    MySQL specific WITH ROLLUP is not supported yet and you will need to provide or sponsor an implementation, when interested in this feature.

  2. changed the title [-]tdenginer执行sql语句异常[/-] [+]`WITH ROLLUP` clause[/+] on Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions