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

[Bug]: npe will be thrown when detail a table with unnamed constraints for oracle mode on OceanBase 4.2 #519

Closed
yhilmare opened this issue Oct 16, 2023 · 2 comments · Fixed by #533
Assignees
Milestone

Comments

@yhilmare
Copy link
Contributor

ODC version

4.2.0

OB version

4.2.1

What happened?

create a table as follow:

create table out_of_line_tbl(
    id integer,
    name varchar2(64),
    PRIMARY KEY(id),
    unique(name)
);

double click this table to show it's detail:
截屏2023-10-16 16 57 12

What did you expect to happen?

do not thrown npe

How can we reproduce it (as minimally and precisely as possible)?

follow 'what happened'

Anything else we need to know?

No response

Cloud

No response

@yhilmare
Copy link
Contributor Author

the name of a in line constraint or out of line constraint does not necessarily exist so that we can not expect that we can get it from the ddl all the time even which is feasible in OceanBase 3.x

@sl01388797
Copy link
Collaborator

Image

pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants