Comments (12)
Hi,
Does this table is listed in ALL_OBJECTS and what is its type in this catalog table?
SELECT A.OWNER, A.OBJECT_NAME, A.OBJECT_TYPE FROM ALL_OBJECTS A WHERE A.OBJECT_NAME = 'V_STOFF_ZEUS_NEU';
It might not be a real table but related to materialized view, in this case the OBJECT_TYPE will not be TABLE.
from ora2pg.
![image](https://user-images.githubusercontent.com/43862157/244178358-f9a9c2d7-6e59-4aa9-b668-00e5d2a54300.png)
from ora2pg.
There is materialized view with the same name. Maybe that is the reason?
from ora2pg.
yes this is the reason
from ora2pg.
but the table should be exported despite the existence of a materialized view right?
from ora2pg.
right, give me few minutes.
from ora2pg.
@mirec84 please give a try to latest development code, commit fc5c67c should fix this issue.
from ora2pg.
Well I introduced a regression in the previous commit that is fixed with commit 6f3ffc1, please give it a try.
from ora2pg.
I still do not see the V_STOFF_ZEUS_NEU table :( Nothing seem to be changed in the output
from ora2pg.
Ok, I have reverted the lasts commits. What you are seeing is an Oracle internal table related to the materialized view, not a real table.
You can try to create a materialized view and execute query SELECT A.OWNER, A.OBJECT_NAME, A.OBJECT_TYPE FROM ALL_OBJECTS A WHERE A.OBJECT_NAME = '<MVIEW_NAME>';
you will see the two entries. Previous behavior of Ora2Pg was the right one. I should have recall that you can not create a table and a mview with the same name in Oracle.
from ora2pg.
You are correct
from ora2pg.
this is not an issue
from ora2pg.
Related Issues (20)
- Is the DELETE option available from the command line?
- Small enhancement: make differences reported by the "-t TEST" option's output easier to identify by adding a line prefix HOT 2
- Comparisons using the "-t TEST" option sometimes double counts the number of NOT NULL constraints
- problem during execution of ora2pg -t TEST -c config/ora2pg.conf > migration_diff.txt HOT 2
- Progress bar shows wrong totals and percentage when using WHERE
- Using the COPY Option using DSN with no host or port HOT 1
- pg_initial_command ignored when using TEST_DATA HOT 2
- problem during execution of ora2pg -t TEST -c config/ora2pg.conf > migration_diff.txt - part 2
- [MySQL] Regression with hash partitions
- Bug introduced with Commit 5d0ad02
- [Oracle] NOT NULL constraint shows twice in the exported schema
- not able to generate error free procedure migration from oracle to postgres HOT 2
- ora2pg does not convert anydata HOT 1
- Data format of "INTERVAL" type incorrect for PG
- When using relative path the generated relative path is relative to the supplied baseDir not the sql file
- Why ? Aborting export... HOT 2
- STOP_ON_ERROR is ignored for direct data copy indexes re-creation
- DISABLE_PARTITION is ignored while creating indexes
- [Feature Request] Add ON CONFLICT [...] to INSERT statements HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ora2pg.