Re: How can generation dataset in flink automatic depend on number of filed and data type

2015-04-11 Thread hagersaleh
user input csv file for database and Filed Name and Data type for all filed then i want generate dataset function for handles this because want use this in all input file not custom file -- View this message in context: http://apache-flink-incubator-user-mailing-list-archive.2336050.n4.nabble

Re: How can generation dataset in flink automatic depend on number of filed and data type

2015-04-11 Thread Robert Metzger
Hey, do you want to read from a JDBC database? What exactly do you mean by "automatic function"? In general, I think you can read rows from a JDBC database and then use a map function to transform the rows from that database into a custom datatype (POJO). Best, Robert On Sat, Apr 11, 2015 at 4:

How can generation dataset in flink automatic depend on number of filed and data type

2015-04-11 Thread hagersaleh
I want write program flink on any database user input filed and type of filed and when read database want generate automatic function dataset any example in flink i want database and write function to handles this example final ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironm