nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Thomsen <mikerthom...@gmail.com>
Subject Re: Any helper functions for checking RecordFieldType compatibility?
Date Tue, 04 Jun 2019 16:35:42 GMT
Thanks. I'll look at that.

On Tue, Jun 4, 2019 at 12:33 PM Mark Payne <markap14@hotmail.com> wrote:

> Mike,
>
> You may want to look at DataTypeUtils.mergeDataTypes( final DataType
> thisDataType, final DataType otherDataType )
> I don't believe this is exactly what you are looking for, but will likely
> give you a good starting point, if you
> were to implement such a helper method.
>
> Thanks
> -Mark
>
>
> On Jun 4, 2019, at 12:22 PM, Mike Thomsen <mikerthomsen@gmail.com<mailto:
> mikerthomsen@gmail.com>> wrote:
>
> Are there are any helper functions that would be useful for checking a
> source RecordFieldType and a target RecordFieldType and letting you know if
> the source is compatible with the target?
>
> At this point, I don't have a Record object. It's simply evaluating
> RecordFieldTypes off of two RecordSchema objects.
>
> Thanks,
>
> Mike
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message