def test_suggested_multiple_column_names_with_dot(completer, complete_event):
    text = 'SELECT users.id, users. from users u'
    position = len('SELECT users.id, users.')
    result = set(completer.get_completions(
        Document(text=text, cursor_position=position),
        complete_event))
    assert set(result) == set([
        Completion(text='*', start_position=0, display_meta='column'),
        Completion(text='id', start_position=0, display_meta='column'),
        Completion(text='email', start_position=0, display_meta='column'),
        Completion(text='first_name', start_position=0, display_meta='column'),
        Completion(text='last_name', start_position=0, display_meta='column')])
Retrieve information about existing unique constraints of the table
dataset/ETHPy150Open dbcli/pgcli/tests/test_smart_completion_public_schema_only.py/test_suggested_multiple_column_names_with_dot--crossover with--dataset/ETHPy150Open openstack/rack/rack/openstack/common/db/sqlalchemy/migration.py/_get_unique_constraints