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

[ORACLE] Negative scale is not supported #779

Open
shubham-yb opened this issue Mar 1, 2023 · 0 comments
Open

[ORACLE] Negative scale is not supported #779

shubham-yb opened this issue Mar 1, 2023 · 0 comments
Labels
dep-issue Issues with dependencies

Comments

@shubham-yb
Copy link
Contributor

shubham-yb commented Mar 1, 2023

We can provide negative scale in Oracle i.e. number(5,-2), but this is not supported in PG.

Source:

create table num_check(n1 number(5,-2));

Exported schema:

CREATE TABLE num_check (
        n1 decimal(5,-2)
);

Corresponding error:

ERROR:  NUMERIC scale -2 must be between 0 and precision 5
LINE 2:         n1 decimal(5,-2)

@shubham-yb shubham-yb added the dep-issue Issues with dependencies label Mar 1, 2023
@shubham-yb shubham-yb changed the title [ORACLE]Negative scale is not supported [ORACLE] Negative scale is not supported Mar 1, 2023
@github-actions github-actions bot added the triage Needs to be triaged label Mar 1, 2023
@shubham-yb shubham-yb removed the triage Needs to be triaged label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dep-issue Issues with dependencies
Projects
None yet
Development

No branches or pull requests

1 participant