def METHOD_NAME(data_file, schema):
    table_name = "NASA 2"
    table = create_table_from_data_file(data_file, table_name, schema)
    assert table is not None
    assert table.name == table_name
    assert table.schema == schema
    assert table.sa_num_records() == 1393
    with pytest.raises(DuplicateTable):
        create_table_from_data_file(data_file, table_name, schema)