Github user njayaram2 commented on a diff in the pull request: https://github.com/apache/madlib/pull/271#discussion_r192182069 --- Diff: src/madpack/madpack.py --- @@ -95,6 +95,16 @@ def _internal_run_query(sql, show_error): return run_query(sql, con_args, show_error) # ------------------------------------------------------------------------------ +def _write_to_file(handle, sql, show_error=False): + handle.write(sql) + handle.write('\n') +# ------------------------------------------------------------------------------ + + +def _merge_to_file(handle, other_file, show_error=False): --- End diff -- It was used very early in the story I guess, have removed it now.
---