Skip to content

Commit

Permalink
header write fix for overwrite argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Tagar committed Jul 31, 2018
1 parent 5bab5e2 commit 708d140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion abalon/spark/sparkutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def dataframeToHDFSfile (dataframe, dst_file, overwrite=False
header_record = delimiter.join(dataframe.columns)
header_filename = "{}/--00_header.csv".format(dst_dir) # have to make sure header filename is 1st in
# alphabetical order
HDFSwriteString(header_filename, header_record, compression)
HDFSwriteString(dst_file=header_filename, content=header_record, compression=compression)

HDFScopyMerge(dst_dir, dst_file, overwrite, deleteSource=True)

Expand Down
2 changes: 1 addition & 1 deletion abalon/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

version = '2.2.8'
version = '2.2.9'


0 comments on commit 708d140

Please sign in to comment.