Hi Santosh,

yes that is possible, if you want to read a complete file without splitting
it into records. However, you need to implement a custom InputFormat for
that which extends Flink's FileInputFormat.

If you want to split it into records, you need a character sequence that
delimits two records. Depending on the schema and format of your data this
might not be possible. If you have such a delimiting character sequence,
you can use Flink's DelimitedInputFormat.

Cheers, Fabian


2015-07-15 12:15 GMT+02:00 santosh_rajaguru <sani...@gmail.com>:

> Hi,
>
> Is there any way to read the complete XML string or file from HDFS using
> flink?
>
> Thanks and Regards,
> Santosh
>
>
>
> --
> View this message in context:
> http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/Read-XML-from-HDFS-tp7023.html
> Sent from the Apache Flink Mailing List archive. mailing list archive at
> Nabble.com.
>

Reply via email to