Skip to content

Conversation

@yuki-tei
Copy link
Contributor

Hi team,
Greetings.

What Changed?

We got to know that only -trunLoad will drop/recreate indexes/constraints, user should know this before using it.

Kind Regards,
Yuki Tei

@yuki-tei yuki-tei requested a review from a team as a code owner October 10, 2025 00:52
@nidhibhammar
Copy link
Contributor

@gvasquezvargas, can we get this reviewed by an engineer on the MTK team?

Truncate the data from the table before importing new data. Use this option with the `-dataOnly` option.

!!!note
If -truncLoad is spcified, all indexes and constraints are dropped before data laod and recreated afterward. Hence if data load is failed, indexes and constraints might be lacking. Manual operation might be necessary, depending on the situation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If -truncLoad is spcified, all indexes and constraints are dropped before data laod and recreated afterward. Hence if data load is failed, indexes and constraints might be lacking. Manual operation might be necessary, depending on the situation.
If `-truncLoad` is specified, all indexes and constraints are dropped before data load and recreated afterward. Hence, if the data load fails, it may be due to a lack of indexes and constraints. Manual intervention might be necessary, depending on the situation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zahid75 do you mind taking a look at this suggestion from an external contributor (which I rephrased above) and letting us know if its accurate so we can merge it? Thank you!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Greetings. Sorry to bother you again.
Could you please confirm if there is any progress here?

Kind Regards,
Yuki Tei

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @yuki-tei ! I have pinged the MTK team, but they are heads-down with a release, so they have asked me to give them a couple of days.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @gvasquezvargas , Thanks a lot for take a look and sorry for bothering. I understand that. I would wait for your further discussion.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gvasquezvargas Have added @salman-hameed-code for review who has more insight into truncLoad specific behavior.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gvasquezvargas I am not sure what does it mean "Hence, if the data load fails, it may be due to a lack of indexes and constraints"

@gvasquezvargas
Copy link
Contributor

Note for on call: the release the SME is working on will be released mid next week, so we can start pinging him again a few days after that.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants