GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [BUG] JSQLParser 5.4-SNAPSHOT : Clickhouse : SAMPLE not supported in Clickhouse SELECT · Issue #2363 · JSQLParser/JSqlParser

[BUG] JSQLParser 5.4-SNAPSHOT : Clickhouse : SAMPLE not supported in Clickhouse SELECT #2363

New issue
Copy link
New issue
Copy link
Closed
Feature
#2390
Closed
[BUG] JSQLParser 5.4-SNAPSHOT : Clickhouse : SAMPLE not supported in Clickhouse SELECT#2363
Feature
#2390
Copy link

Description

@tomershay
tomershay
opened on Jan 12, 2026
Issue body actions

Failing SQL Feature:

The SAMPLE clause in ClickHouse lets you run a SELECT query on only a fraction of the data (a subset) to get fast approximate results by specifying a sample ratio or number.

Reproduce the issue with this query:

CREATE TABLE tmp.events
(
    id UInt64,
    user_id UInt32,
    timestamp DateTime
)
ENGINE = MergeTree()
ORDER BY id
SAMPLE BY id;

SELECT *
FROM events
SAMPLE 0.1;

Parsing error:

ParseException: Encountered: <K_SAMPLE> / "SAMPLE", at line 3, column 1, in lexical

Activity

  1. manticore-projects
    added the
    Feature
    issue type on Jan 12, 2026
  2. manticore-projects
    closed this as completedin #2390on Mar 1, 2026
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

    No labels
    No labels

    Type

    Feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.