Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: enhance table function fuse_encoding#19127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
dantengsky wants to merge3 commits intodatabendlabs:main
base:main
Choose a base branch
Loading
fromdantengsky:feat/enhence-fuse-encoding

Conversation

@dantengsky
Copy link
Member

@dantengskydantengsky commentedDec 18, 2025
edited
Loading

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

Summary

enhance table functionfuse_encoding:

  • supports storage format Parquet
  • add new columnsblock_location andstorage_format
  • the 2nd argtable_name and the 3rd argcolumn_name are optional
mysql> select * from fuse_encoding('default') limit 1;+------------+----------------+--------------------------------------------------------+-------------+------------------+---------------+-----------------+-------------------+--------------------------+-----------+| table_name | storage_format | block_location                                         | column_name | column_type      | validity_size | compressed_size | uncompressed_size | level_one                | level_two |+------------+----------------+--------------------------------------------------------+-------------+------------------+---------------+-----------------+-------------------+--------------------------+-----------+| t0         | Parquet        | 1/5771/_b/h019b253321d570419b4a5c40bf3ac01b_v2.parquet | c           | INT NULL (INT32) |          NULL |            4774 |              7987 | plain,rle,rle_dictionary | zstd      |+------------+----------------+--------------------------------------------------------+-------------+------------------+---------------+-----------------+-------------------+--------------------------+-----------+1 row in set (0.140 sec)Read 112 rows, 22.33 KiB in 0.084 sec., 1.33 thousand rows/sec., 264.90 KiB/sec.mysql> select * from fuse_encoding('default', 't1') limit 1;+------------+----------------+--------------------------------------------------------+-------------+------------------+---------------+-----------------+-------------------+--------------------------+-----------+| table_name | storage_format | block_location                                         | column_name | column_type      | validity_size | compressed_size | uncompressed_size | level_one                | level_two |+------------+----------------+--------------------------------------------------------+-------------+------------------+---------------+-----------------+-------------------+--------------------------+-----------+| t1         | Parquet        | 1/5778/_b/h019b253321d47043aa0f6c5de4527a65_v2.parquet | c           | INT NULL (INT32) |          NULL |            4781 |              7987 | plain,rle,rle_dictionary | zstd      |+------------+----------------+--------------------------------------------------------+-------------+------------------+---------------+-----------------+-------------------+--------------------------+-----------+1 row in set (0.048 sec)Read 1 rows, 228.00 B in 0.025 sec., 39.56 rows/sec., 8.81 KiB/sec.mysql> select * from fuse_encoding('default', 't1', 'c') limit 1;+------------+----------------+--------------------------------------------------------+-------------+------------------+---------------+-----------------+-------------------+--------------------------+-----------+| table_name | storage_format | block_location                                         | column_name | column_type      | validity_size | compressed_size | uncompressed_size | level_one                | level_two |+------------+----------------+--------------------------------------------------------+-------------+------------------+---------------+-----------------+-------------------+--------------------------+-----------+| t1         | Parquet        | 1/5778/_b/h019b253321d47043aa0f6c5de4527a65_v2.parquet | c           | INT NULL (INT32) |          NULL |            4781 |              7987 | plain,rle,rle_dictionary | zstd      |+------------+----------------+--------------------------------------------------------+-------------+------------------+---------------+-----------------+-------------------+--------------------------+-----------+1 row in set (0.056 sec)Read 1 rows, 228.00 B in 0.033 sec., 30.09 rows/sec., 6.70 KiB/sec.

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

SkyFan2002 reacted with thumbs up emoji
@github-actionsgithub-actionsbot added the pr-featurethis PR introduces a new feature to the codebase labelDec 18, 2025
@github-actions
Copy link
Contributor

github-actionsbot commentedDec 18, 2025
edited
Loading

🤖 CI Job Analysis

Workflow:20359258888

📊 Summary

  • Total Jobs: 23
  • 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 / build: Not retryable (Code/Test)
  • linux / test_unit: Not retryable (Code/Test)

🤖 About

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

@dantengskydantengskyforce-pushed thefeat/enhence-fuse-encoding branch fromd2aba1a to92c9236CompareDecember 19, 2025 01:47
# Conflicts:#src/query/storages/fuse/src/io/read/meta/mod.rs#src/query/storages/fuse/src/table_functions/fuse_encoding.rs
@dantengskydantengskyforce-pushed thefeat/enhence-fuse-encoding branch from92c9236 to378382dCompareDecember 19, 2025 03:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

pr-featurethis PR introduces a new feature to the codebase

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@dantengsky

[8]ページ先頭

©2009-2025 Movatter.jp