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 table custom properties #1165

Merged
merged 3 commits into from
Feb 15, 2023
Merged

Conversation

jczhong84
Copy link
Collaborator

Tables from metatore may have some custom properties, here we're adding this column to the data_table_information table and load it from metastore.

@jczhong84 jczhong84 requested a review from czgu February 15, 2023 00:17
@@ -65,6 +65,9 @@ class DataTable(NamedTuple):
# Arrays of partition keys
partition_keys: List[str] = []

# Custom properties
custom_properties: dict = None
Copy link
Collaborator

Choose a reason for hiding this comment

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

dict[str, str]?

@czgu
Copy link
Collaborator

czgu commented Feb 15, 2023

can you bump the minor version since there is a db change

@czgu czgu changed the base branch from master to metadata February 15, 2023 01:50
@czgu czgu merged commit b36a5c0 into pinterest:metadata Feb 15, 2023
czgu pushed a commit that referenced this pull request Feb 27, 2023
* feat: add table custom properties (#1165)

* feat: add table custom properties

* comments

* update package version

* feat: load tag from metastore (#1164)

* feat: load tag from metastore

* comments

* comments

* feat: add column level tag support (#1169)

* feat: add column level tag support

* comments

* set commit False for create_table

* tagsDOM

* use verify_data_column_permission

* ffix linter

* feat: load data table ownership from metastore (#1170)

* load data table owners from metastore

* add tooltip

* fix linter

* comments

* fix circular import

* display name comments

* display name comments

* get owner types comments

* feat: load user groups  (#1176)

* feat: load and sync user groups from metastore

* remove sync group task

* remove and add delta

* refactor

* chore: merge alembic changes (#1180)

* chore: merge alembic changes

* add foregin key name
@jczhong84 jczhong84 deleted the feat/tbprops branch April 7, 2023 00:41
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Apr 11, 2023
* feat: add table custom properties (pinterest#1165)

* feat: add table custom properties

* comments

* update package version

* feat: load tag from metastore (pinterest#1164)

* feat: load tag from metastore

* comments

* comments

* feat: add column level tag support (pinterest#1169)

* feat: add column level tag support

* comments

* set commit False for create_table

* tagsDOM

* use verify_data_column_permission

* ffix linter

* feat: load data table ownership from metastore (pinterest#1170)

* load data table owners from metastore

* add tooltip

* fix linter

* comments

* fix circular import

* display name comments

* display name comments

* get owner types comments

* feat: load user groups  (pinterest#1176)

* feat: load and sync user groups from metastore

* remove sync group task

* remove and add delta

* refactor

* chore: merge alembic changes (pinterest#1180)

* chore: merge alembic changes

* add foregin key name
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
* feat: add table custom properties (pinterest#1165)

* feat: add table custom properties

* comments

* update package version

* feat: load tag from metastore (pinterest#1164)

* feat: load tag from metastore

* comments

* comments

* feat: add column level tag support (pinterest#1169)

* feat: add column level tag support

* comments

* set commit False for create_table

* tagsDOM

* use verify_data_column_permission

* ffix linter

* feat: load data table ownership from metastore (pinterest#1170)

* load data table owners from metastore

* add tooltip

* fix linter

* comments

* fix circular import

* display name comments

* display name comments

* get owner types comments

* feat: load user groups  (pinterest#1176)

* feat: load and sync user groups from metastore

* remove sync group task

* remove and add delta

* refactor

* chore: merge alembic changes (pinterest#1180)

* chore: merge alembic changes

* add foregin key name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants