Github user kaknikhil commented on a diff in the pull request: https://github.com/apache/madlib/pull/271#discussion_r191581799 --- 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): + with open(other_file) as other_handle: --- End diff -- `show_error` arg is never used
---