odc
odc copied to clipboard
[Bug]: importing single table Data and Structure together, the object names are duplicated
ODC version
ODC 432
OB version
independent
What happened?
importing single table both Data and Structure, the object names are duplicated
What did you expect to happen?
like that
How can we reproduce it (as minimally and precisely as possible)?
- export table 'BASIC_COMMENT' both Data and Structure
- download .zip file
- import .zip file
Anything else we need to know?
No response
This is because there is a bug in ob-loader.
In com/oceanbase/tools/loaddump/resource/ResourceFinderV2.java:116, OBLoader should determine whether parameter.getFilePath() is a file or a folder. If it is a folder, you cannot enter this if