-
Notifications
You must be signed in to change notification settings - Fork 55
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
fix(db-browser): adaption for ALL_TAB_COLS.USER_GENERATED in ob oracle #2231
Conversation
please upgrade db-browser's version~ |
Done~ |
...db-browser/src/main/java/com/oceanbase/tools/dbbrowser/schema/DBSchemaAccessorGenerator.java
Outdated
Show resolved
Hide resolved
libs/db-browser/src/main/resources/schema/sql/oboracle/oboracle_4_1_x.yaml
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
there are several conflicts between your branch and dev/4.3.0 |
...er/src/main/java/com/oceanbase/tools/dbbrowser/editor/generator/DBObjectEditorGenerator.java
Outdated
Show resolved
Hide resolved
...main/java/com/oceanbase/tools/dbbrowser/schema/oracle/OBOracleLessThan400SchemaAccessor.java
Show resolved
Hide resolved
libs/db-browser/src/main/resources/schema/sql/oboracle/oboracle_4_1_x.yaml
Show resolved
Hide resolved
libs/db-browser/src/main/resources/schema/sql/oboracle/oboracle_4_1_x.yaml
Show resolved
Hide resolved
server/odc-service/src/main/java/com/oceanbase/odc/service/db/browser/DBSchemaAccessors.java
Outdated
Show resolved
Hide resolved
...va/com/oceanbase/odc/plugin/schema/odpsharding/obmysql/ODPShardingOBMySQLTableExtension.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What type of PR is this?
type-bug
What this PR does / why we need it:
ob 4.1.0 and above version
ALL_TAB_COLS
adds theUSER_GENERATED
field. If it is a deleted column, thenUSER_GENERATED = 'YES'
, these columns do not need to be displayed on a white screen on ODC to the user. The newoboracle_4_1_x.yaml
is added to filter theUSER_GENERATED
field. At the same time,OBOracleBetween4000And4100SchemaAccessor
is added.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.: