powered by
Returns up to the first 'maxBytes' bytes of the given file as a String encoded in UTF-8.
mssparkutils.fs.head(file, maxBytes = 65535)
Empty string to mimic the returned content of file.
file
FileSystem URI
Maximum number of bytes to read
mssparkutils.fs.head("/tmp/my-folder/my-file") mssparkutils.fs.head("/tmp/my-folder/my-file", 1000)
Run the code above in your browser using DataLab