Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add is_attach column to system.tables and disable index creation for attache tables #16166

Merged
merged 5 commits into from
Aug 2, 2024

Conversation

dantengsky
Copy link
Member

@dantengsky dantengsky commented Aug 1, 2024

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

Summary

add is_attach column to system.tables and disable index creation for attache tables

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

@dantengsky dantengsky changed the title Feat: add is_attach column to system.tables and disable index creation for attache tables feat: add is_attach column to system.tables and disable index creation for attache tables Aug 1, 2024
@github-actions github-actions bot added the pr-feature this PR introduces a new feature to the codebase label Aug 1, 2024
@dantengsky dantengsky changed the title feat: add is_attach column to system.tables and disable index creation for attache tables chore: add is_attach column to system.tables and disable index creation for attache tables Aug 1, 2024
@dantengsky dantengsky added pr-chore this PR only has small changes that no need to record, like coding styles. and removed pr-chore this PR only has small changes that no need to record, like coding styles. labels Aug 1, 2024
@dantengsky dantengsky changed the title chore: add is_attach column to system.tables and disable index creation for attache tables feat: add is_attach column to system.tables and disable index creation for attache tables Aug 1, 2024
@dantengsky dantengsky marked this pull request as ready for review August 1, 2024 14:27
@dantengsky dantengsky requested review from b41sh and TCeason August 1, 2024 14:27
Copy link
Collaborator

@TCeason TCeason left a comment

Choose a reason for hiding this comment

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

system table part is LGTM.

Add col may influence jdbc? Please check it @hantmac

Copy link
Member

@b41sh b41sh left a comment

Choose a reason for hiding this comment

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

LGTM

@dantengsky dantengsky requested a review from hantmac August 1, 2024 15:51
@dantengsky
Copy link
Member Author

@hantmac please take a look, thanks

@hantmac
Copy link
Member

hantmac commented Aug 2, 2024

No affect to jdbc. LGTM.

@dantengsky dantengsky added this pull request to the merge queue Aug 2, 2024
github-merge-queue bot pushed a commit that referenced this pull request Aug 2, 2024
…ation for attache tables (#16166)

* new field `is_attach` in `system.tables`

* prevent index creation on attach table

* update ut golden file columns_table.txt

* Tweak UT `test_simple_sql`

Extract field `is_attache` has been added, thun adjust assertions

* tweak test `18_0007_privilege_access.result`
@BohuTANG BohuTANG removed this pull request from the merge queue due to a manual request Aug 2, 2024
@BohuTANG BohuTANG merged commit b588572 into databendlabs:main Aug 2, 2024
75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
5 participants