madlib-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iyerr3 <...@git.apache.org>
Subject [GitHub] madlib pull request #291: Feature: Vector to Columns
Date Thu, 12 Jul 2018 00:25:20 GMT
Github user iyerr3 commented on a diff in the pull request:

    https://github.com/apache/madlib/pull/291#discussion_r201876969
  
    --- Diff: src/ports/postgres/modules/internal/test/unit_tests/test_db_utils.py_in ---
    @@ -0,0 +1,60 @@
    +# coding=utf-8
    +#
    +# Licensed to the Apache Software Foundation (ASF) under one
    +# or more contributor license agreements.  See the NOTICE file
    +# distributed with this work for additional information
    +# regarding copyright ownership.  The ASF licenses this file
    +# to you under the Apache License, Version 2.0 (the
    +# "License"); you may not use this file except in compliance
    +# with the License.  You may obtain a copy of the License at
    +#
    +#   http://www.apache.org/licenses/LICENSE-2.0
    +#
    +# Unless required by applicable law or agreed to in writing,
    +# software distributed under the License is distributed on an
    +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +# KIND, either express or implied.  See the License for the
    +# specific language governing permissions and limitations
    +# under the License.
    +
    +import sys
    +from os import path
    +
    +# Add modules module to the pythonpath.
    +sys.path.append(path.dirname(path.dirname(path.dirname(path.dirname(path.abspath(__file__))))))
    +
    +import unittest
    +from mock import *
    +import sys
    +import plpy_mock as plpy
    +
    +m4_changequote(`<!', `!>')
    +class Vec2ColsTestCase(unittest.TestCase):
    --- End diff --
    
    There is another `Vec2ColsTestCase` in `test_vec2cols.py_in`. Is this one redundant? 


---

Mime
View raw message