So i figured it out.
Looks like the there was a schema imported on the dataset Sink, and that forces that Name (Machines) to have the imported array as a the type on saving.
just clear the datasets schemas, and import them when sure that your dataflow has inserted correctly
Conversion from ArrayType to ArrayType not defined
I keep getting this error
Conversion from ArrayType(StructType(StructField(MachineKey,StringType,true)),true) to ArrayType(StructType(StructField(MachineKey,StringType,true), StructField(FrameNumber,StringType,true), StructField(IsActive,BooleanType,true), StructField(Created,StringType,true), StructField(Modified,StringType,true)),false) not defined
For simplicity sake i have only one value in array.
This is the data preview right before the SINK
Sink Mapping is
This Gives the Error
if i change the sink mapping to anything else than "Machines"
it works. HOW , why ? but i need the data key value to be Machines:[] and that is the only name i cannot use
and that is the only name that gives the errors. It looks like i have to create a new sink to simply rename.
I tried that, doenst work.
please help
Azure Data Factory
1 answer
Sort by: Most helpful
-
Urmo Arr 11 Reputation points
2022-06-02T13:03:41.387+00:00