CData Python Connector for HDFS

Build 21.0.7930

TruncateFile

Truncate a file to a new length.

Input

Name Type Required Description
Path String False The path of the file which will be truncated.
NewLength Integer True The new length for this file.

Result Set Columns

Name Type Description
Success Boolean Whether the operation completed successfully or not.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930