Skip to content

[BUG] JSQLParser Version : 4.9 RDBMS : not support clickhouse quantile expression #2125

Closed

Description

@Knight-ZXW

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

Failing SQL Feature:

quantile(0.95)(cost) not support

SQL Example:

select toStartOfDay(timestamp) AS date, count(1) as count, quantile(0.95)(cost) as 95cost from apm_log_event

Software Information:

  • JSqlParser 4.9
  • Database :Clickhouse

image

Activity

  1. manticore-projects commented on Dec 18, 2024

    @manticore-projects
    Contributor

    Greetings.

    This is unsupported syntax far away from any standard and you would need to provide or sponsor an implementation to make it happen.

  2. Yizhe1208 commented on Jun 6, 2025

    @Yizhe1208

    we define a new function in our system
    that names like quantile_param(0.95, xx ...) then transform to quantile(0.95)(cost)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions