flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Biplob Biswas <revolutioni...@gmail.com>
Subject Flink first() operator
Date Sat, 23 Apr 2016 16:37:02 GMT
Hi,

It might be a naive question but I was concerned as I am trying to read
from a file.
My question is if I have a file with n lines and i want m lines out of that
where n << m, would the first operator process only the first m lines or
would it go through the entire file?

If it does go through the entire file, is there a better way to just get
the top m lines using readCsvFile function?

Thanks & Regards
Biplob Biswas

Mime
View raw message