hdfs3 icon indicating copy to clipboard operation
hdfs3 copied to clipboard

Support 'rb+' mode for open by truncation

Open martindurant opened this issue 8 years ago • 3 comments

HDFS does allow append, so could emulate rewrite-from-x (as needed for append by fastparquet) by truncation followed by open for append.

martindurant avatar Oct 02 '17 14:10 martindurant

Hello, The function completed?

abigbigbird avatar Dec 26 '18 04:12 abigbigbird

Apparently not. hdfs3 is not being developed any more, but if you need this, you may want to provide a PR yourself. The low-level function you need is hdfs3.lib.hdfsTruncate.

martindurant avatar Dec 26 '18 13:12 martindurant

Ok!Thx, I would try it.

abigbigbird avatar Dec 26 '18 13:12 abigbigbird