Skip to main content

Hi! I am using a writer to write to a non-version ESRI SDE feature class. For now I pass some parameter to the "Truncate Table" of the writer. When the parameter is "Yes", the writer deletes everything in the feature class before writing new records, as expected.

When I tried a situation that the parameter is "Yes" but there is no feature to be written, the feature class is not going to be truncated. This is the behavior I want. However, I couldn't find any documentation about this scenario.

Is there any documentation I can use to verify my implementation is ok? I am trying to avoid using undocumented feature as much as possible.

Thank you!

You are correct, if no feature enters the writer then the table will not be truncated (or dropped, if you activate that).


You are correct, if no feature enters the writer then the table will not be truncated (or dropped, if you activate that).

Yes, this is the result from my experiment, and I want to use the fact in the FME workspace I am development. This is why I am looking for some documentation (help file) that tells (or implies) this, such that I can make sure the workspace is not using some undocumented functionality that can cause big consequence once the functionality no long present.

 


Hi @sui_huang, check out the documentation for the Geodatabase Writer. If you scroll down to the GEODB_TRUNCATE_TABLE, you'll see there is a note saying that a feature must reach the Writer for this parameter to be valid.


Hi @sui_huang, check out the documentation for the Geodatabase Writer. If you scroll down to the GEODB_TRUNCATE_TABLE, you'll see there is a note saying that a feature must reach the Writer for this parameter to be valid.

Nice, thank you @TiaAtSafe

 


Reply