madlib-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kaknikhil <...@git.apache.org>
Subject [GitHub] madlib pull request #282: Utilites: Add CTAS while dropping some columns
Date Thu, 28 Jun 2018 23:48:41 GMT
Github user kaknikhil commented on a diff in the pull request:

    https://github.com/apache/madlib/pull/282#discussion_r199005872
  
    --- 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,
    --- End diff --
    
    If the client_min_messages is set to NOTICE, calling dropcols prints the create table
query. We should use thje context manager to silence everything except ERROR messages. 


---

Mime
View raw message