I'm trying to integrate Flink with Hudi. I'm using...
# random
f
I'm trying to integrate Flink with Hudi. I'm using the DataStream API, but I'm having trouble to create a DataStream<RowData>. Any sample code on how todo this?
f
I always see this type error when creating a GenericRowData stream and use it in the Hudi connector
m
@Florian Mair would you be able to share a toy code example
You should be able to simply cast it to those types since RowData is the interface for GenericRowData and DataStream is SingleOutputStreamOperator’s parent
f
Cast worked, but now i run into
Could not find any factories that implement 'org.apache.flink.table.delegation.ExecutorFactory' in the classpath.
But i have flink table API included in the pom and set the maven shade transformer as well. Any idea?
Ok got it, it was the transformer added by the flink quickstart archetype that caused this
👌 1
m
Awesome