Skip to content

refactor(storage): remove native storage format#19982

Open
zhang2014 wants to merge 3 commits into
databendlabs:mainfrom
zhang2014:refactor/remove-native-format
Open

refactor(storage): remove native storage format#19982
zhang2014 wants to merge 3 commits into
databendlabs:mainfrom
zhang2014:refactor/remove-native-format

Conversation

@zhang2014

@zhang2014 zhang2014 commented Jun 9, 2026

Copy link
Copy Markdown
Member

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Remove the legacy native columnar format and its compression codecs, readers, and writers. Fuse tables now use parquet exclusively for block storage.

  • Delete the src/common/native crate and its workspace entry
  • Drop native block readers, writers, and deserializers in fuse storage
  • Remove native compression option from table create/alter validation
  • Drop the fuse_encoding table function's native-specific output
  • Remove explain_native sqllogic suites and native-only test cases
  • Update CI sqllogic scripts and adjust affected tests

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

Remove the legacy native columnar format and its compression codecs,
readers, and writers. Fuse tables now use parquet exclusively for block
storage.

- Delete the src/common/native crate and its workspace entry
- Drop native block readers, writers, and deserializers in fuse storage
- Remove native compression option from table create/alter validation
- Drop the fuse_encoding table function's native-specific output
- Remove explain_native sqllogic suites and native-only test cases
- Update CI sqllogic scripts and adjust affected tests
@zhang2014 zhang2014 requested a review from sundy-li June 9, 2026 14:45
@github-actions github-actions Bot added the pr-refactor this PR changes the code base without new features or bugfix label Jun 9, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4a68733bbf

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/query/service/src/interpreters/interpreter_table_create.rs
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

🤖 CI Job Analysis

Workflow: 27214308404

📊 Summary

  • Total Jobs: 91
  • Failed Jobs: 2
  • Retryable: 0
  • Code Issues: 2

NO RETRY NEEDED

All failures appear to be code/test issues requiring manual fixes.

🔍 Job Details

  • linux / test_unit: Not retryable (Code/Test)
  • linux / sqllogic / standalone_no_table_meta_cache (no_table_meta_cache, http): Not retryable (Code/Test)

🤖 About

Automated analysis using job annotations to distinguish infrastructure issues (auto-retried) from code/test issues (manual fixes needed).

Follow-up to removing the native storage format. Drop the remaining
native-specific CI scripts, deploy config, workflow steps, and benchmark
table definitions that referenced the removed format.

- Delete native sqllogic CI scripts and standalone deploy config/script
- Remove native sqllogic steps from GitHub workflow actions
- Drop native storage_format usage from benchmark SQL and scripts
- Stop generating native engine options in sqlsmith DDL
Remove the remaining native storage format test cases that no longer
apply after the format was removed.

- Drop native impl calls from aggregating index scan tests
- Remove native variant from agg index query rewrite test
- Update expected read size in cross join aggregation fixture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-refactor this PR changes the code base without new features or bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant