PostgreSQL: support `ALTER TABLE ... ALTER COLUMN ... SET STORAGE`

Đang mở
#2,875 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
76/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, sql

Hướng nghiên cứu

Start at the PostgreSQL ALTER COLUMN handling near mod.rs:10938-10982, then trace the existing AlterColumnOperation variants and their parser tests. Add coverage for the sample SET STORAGE statement and the four listed storage types; done means the expected SetStorage(StorageType) AST is parsed and the relevant tests pass.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

PostgreSQL

Dialect: PostgreSQL

Statement

ALTER TABLE t ALTER COLUMN b SET STORAGE EXTERNAL;

Current behavior: AlterColumnOperation has no SET STORAGE variant.

Expected AST: AlterColumnOperation::SetStorage(StorageType) with PLAIN/EXTERNAL/EXTENDED/MAIN.

0.63.0 anchor: mod.rs:10938-10982

pg_regress coverage: alter_table (isolation)

Distinct from the already-supported table-level SET (storage_parameter = value) form (closed issue #1946).

Ngôn ngữ chính
Rust
Star
3.5k
Fork
805
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
116

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/datafusion-sqlparser-rs

Tất cả issue của apache/datafusion-sqlparser-rs

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.