Skip to main content
Question

Create an empty (NULL) field of type timestamp

  • May 22, 2024
  • 2 replies
  • 49 views

Is there a simpler way to create NULL record attributes of a specific type?

 

We are currently doing it that way for TIMESTAMP:

 

 

2 replies

Dimas Cabré i Chacón
StreamSets Employee
Forum|alt.badge.img

@drozdse1 , can you please suggest what would be simpler than this, in your opinion?


Bikram
Headliner
Forum|alt.badge.img+1
  • Headliner
  • June 1, 2024

@drozdse1 

We can set the null value using script processor as well

record.value['/timestamp'] = null;