Change the input to catalyst datatype