FILE Functions (U-SQL)

Summary

These intrinsic functions are currently always evaluated at compile time (and thus considered constant-foldable). They can be called as part of any scalar expression.

Functions

Name Description
CREATED(string) Returns the creation timestamp of the file at the specified location at compile time as a DateTime value (Kind is Unspecified).
EXISTS(string) Checks if a file in the specified location exists at compile time.
LENGTH(string) Returns the logical size in bytes of the file at the specified location at compile time.
MODIFIED(string) Returns the last modified timestamp of the file at the specified location at compile time as a DateTime value (Kind is Unspecified).

See Also