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

fix(db-browser): adaption for ALL_TAB_COLS.USER_GENERATED in ob oracle #2231

Merged
merged 16 commits into from
May 28, 2024

Conversation

PeachThinking
Copy link
Collaborator

@PeachThinking PeachThinking commented Apr 16, 2024

What type of PR is this?

type-bug

What this PR does / why we need it:

  1. Fixes [Bug]: show system generated column in SYS.ALL_TAB_COLS after alter drop column  #2208 :
    ob 4.1.0 and above version ALL_TAB_COLS adds the USER_GENERATED field. If it is a deleted column, then USER_GENERATED = 'YES', these columns do not need to be displayed on a white screen on ODC to the user. The new oboracle_4_1_x.yaml is added to filter the USER_GENERATED field. At the same time, OBOracleBetween4000And4100SchemaAccessor is added.
  2. Enhancement for [Enhancement]: The creation of DBSchemaAccessor is expected to be placed in the db-browser layer #1771
    put the creation of DBSchemaAccessor in db-browser layer :DBSchemaAccessorGenerator
    put the creation of DBStatsAccessor in db-browser layer :DBStatsAccessorGenerator
    put the creation of DBObjectEditor in db-browser layer :DBObjectEditorGenerator
    put the creation of DBObjectTemplate in db-browser layer :DBObjectTemplateGenerator

Which issue(s) this PR fixes:

Fixes #2208
Fixes #1771

Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:


@PeachThinking PeachThinking added type-bug Something isn't working enhancement New feature or request labels Apr 16, 2024
@PeachThinking PeachThinking added this to the ODC 4.3.0 milestone Apr 16, 2024
@PeachThinking PeachThinking self-assigned this Apr 16, 2024
@yhilmare
Copy link
Contributor

please upgrade db-browser's version~

@PeachThinking
Copy link
Collaborator Author

please upgrade db-browser's version~

Done~

@PeachThinking PeachThinking changed the base branch from dev/4.3.x to dev/4.3.0 May 21, 2024 05:52
LuckyPickleZZ
LuckyPickleZZ previously approved these changes May 21, 2024
Copy link
Collaborator

@LuckyPickleZZ LuckyPickleZZ left a comment

Choose a reason for hiding this comment

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

lgtm

@yhilmare
Copy link
Contributor

there are several conflicts between your branch and dev/4.3.0

Copy link
Contributor

@yhilmare yhilmare left a comment

Choose a reason for hiding this comment

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

lgtm, the generator of schemaAccessor, ObjectEditor will be refactor in other prs

Copy link
Contributor

@yhilmare yhilmare left a comment

Choose a reason for hiding this comment

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

lgtm, the generator of schemaAccessor, ObjectEditor will be refactor in another pr

Copy link
Collaborator

@MarkPotato777 MarkPotato777 left a comment

Choose a reason for hiding this comment

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

LGTM

@yhilmare yhilmare merged commit 1cd548c into dev/4.3.0 May 28, 2024
7 checks passed
@yhilmare yhilmare deleted the fix/jingtian_430_show_system_generated_columns branch May 28, 2024 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request type-bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants