apache / apache/datafusion-sqlparser-rs

CREATE TABLE ... ORDER BY

Open
#823 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.5k
Forks
772
Avg merge
4d 9h
Merged PRs (30d)
17

Description

Clickhouse requires its tables to have an ORDER BY clause (at least for `Engine=MergeTree()`). I don't think this is currently supported.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the parser's CREATE TABLE handling and existing dialect or parser tests. Confirm how ClickHouse's MergeTree engine is represented, then add coverage showing that CREATE TABLE statements with an ORDER BY clause parse successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
clickhouse, rust, sql
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.