Github user njayaram2 commented on the issue:

    https://github.com/apache/incubator-madlib/pull/81
  
    Some useful validation functions in
    
https://github.com/apache/incubator-madlib/blob/master/src/ports/postgres/modules/utilities/validate_args.py_in
 (look at the comments in the code for those functions, use if it applies to 
your scenario):
    ```
    table_exists
    get_cols_and_types
    columns_exist_in_table
    is_col_array
    is_var_valid
    input_tbl_valid
    output_tbl_valid
    cols_in_tbl_valid
    ```
    
https://github.com/apache/incubator-madlib/blob/master/src/ports/postgres/modules/utilities/utilities.py_in:
    ```
    unique_string
    ```
    
    You could probably have one function to validate input all args, include 
your current validations checks as part of that python function.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to