Github user iyerr3 commented on a diff in the pull request: https://github.com/apache/madlib/pull/282#discussion_r199861734 --- Diff: src/ports/postgres/modules/utilities/utilities.py_in --- @@ -853,6 +857,34 @@ def validate_module_input_params(source_table, output_table, independent_varname source_table=source_table)) # ------------------------------------------------------------------------ + +def create_table_drop_cols(source_table, out_table, + cols_to_drop, **kwargs): + """ Create copy of table while dropping some of the columns + Args: + @param source_table str. Name of the source table + @param out_table str. Name of the output table + @param cols_to_drop str. Comma-separated list of columns to drop + """ + input_tbl_valid(source_table, 'Utilities') + output_tbl_valid(out_table, 'Utilities') + --- End diff -- Added a note in the docs.
---