

@staticmethod
def test_exists_clone():
    'Basic test for create table clone with exists condition\n        '
    query = 'CREATE TABLE orders (customer_id INTEGER DISTKEY PRIMARY KEY,customer_name VARCHAR(200))'
    exists_clone = create_exists_clone(query)
    output = parse_create_table(query)
    eq_(output['full_name'], 'orders')
    eq_(output['temporary'], False)
    eq_(output['exists_checks'], True)

dataset/ETHPy150Open coursera/dataduct/dataduct/database/parsers/tests/test_create_table.py TestCreateTableStatement.test_exists_clone/VarMisuse@29/88 `exists_clone`->`query`