CData Python Connector for HDFS

Build 24.0.9062

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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062