Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Vlatko
Contributor
Contributor

tDBSCD component does not change date(time) fields to NULL

tDBSCD seems to ignore change of dates from something to NULL. At least when a date field is listed among Type 2 fields in the tDBSCD component.

When a varchar or int field changes from a value to NULL, tDBSCD will discover the change and perform a Type 2 change. If a date field is changed from something to NULL, the change will be done as expected.

But if the only change in a row is a change of a date field from a value to NULL, then the tDBSCD will ignore it and no data update will be done at all.

This is a clear bug.

The database is mySQL. Running Talend 7.3.

Labels (3)
3 Replies
Anonymous
Not applicable

Hi @Vlatko Duric​,

 

Thanks for raising this. If you have a support license, would you mind contacting support and sharing the job in which you are seeing this behaviour with them? If we can see the configuration of your job we can rule out a config issue and get straight to being able to demonstrate this issue to R&D.

 

Vlatko
Contributor
Contributor
Author

Hi

Yes, we have support license, so I will contact Talend support for this.

By the way, this error is easy to re-produce. All you need is a simple job where the input to a tDBSCD compnent is a datetime field, among other fields. You can have all of them as Type 2.

Then do some changes on Type 2 fields in the input. You will notice that in the case when you ONLY change a datetime field from a valid date value to NULL, then the tDBSCD component will not perform the change at all. The change will be just ignored.

 

0695b00000UxX7NAAV.png 

Vlatko
Contributor
Contributor
Author

0695b00000UxX8pAAF.png