odc icon indicating copy to clipboard operation
odc copied to clipboard

[Bug]: importing single table Data and Structure together, the object names are duplicated

Open yehaow opened this issue 1 year ago • 1 comments

ODC version

ODC 432

OB version

independent

What happened?

importing single table both Data and Structure, the object names are duplicated image

What did you expect to happen?

like that image

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

  1. export table 'BASIC_COMMENT' both Data and Structure
  2. download .zip file
  3. import .zip file

Anything else we need to know?

No response

yehaow avatar Sep 04 '24 12:09 yehaow

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

Image

LuckyPickleZZ avatar Sep 06 '24 03:09 LuckyPickleZZ