import java.io.Fileval someFile = new File("somefile.txt")val fileSize
= someFile.length

This one?



On Sun, Jun 19, 2022 at 4:33 AM mbreuer <msbre...@gmail.com> wrote:

> Hello Community,
>
> I am working on optimizations for file sizes and number of files. In the
> data frame there is a function input_file_name which returns the file
> name. I miss a counterpart to get the size of the file. Just the size,
> like "ls -l" returns. Is there something like that?
>
> Kind regards,
> Markus
>
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: user-unsubscr...@spark.apache.org
>
>

Reply via email to