ibis.backends.impala.HDFS.put¶
-
HDFS.
put
(hdfs_path: str, resource, overwrite: bool = False, verbose: Optional[bool] = None, **kwargs) → str¶ Write file or directory to HDFS.
- Parameters
hdfs_path (string) – Directory or path
resource (string or buffer-like) – Relative or absolute path to local resource, or a file-like object
overwrite (boolean, default False) –
verbose (boolean, default ibis options.verbose) –
keyword arguments passed down to any internal API used. (Further) –
- Returns
written_path – The path to the written file or directory
- Return type
string
- Raises