**Describe what's wrong**

We have a nested field in a table.
The table is created using SET flatten_nested = 0.
When the server is restarted the field is no longer nested (only flattened arrays appear).

**Does it reproduce on recent release?**

version 22.2.3.1

**How to reproduce**

Create a table using:

` 
SET flatten_nested = 0            
` 
` 
CREATE TABLE test.test    
    (     
        id String,  
       nested_field Nested (nf1 String, nf2 String)  
    ) ENGINE = MergeTree ORDER BY id  
`

Recover the table structure using describe:
`
describe test.test
`
`
name           type
id             String
nested_field   Nested(nf1 String, nf2 String) 
`

Restart click-house server.

Recover the table structure using describe:
`
 name               type            
 id                 String                                                                                          
 nested_field.nf1   Array(String)                                                                                   
 nested_field.nf2   Array(String)                                                                                   
`

*Expected behavior**

Recover the initial structure of the table not he flatenned one.


Block as_select_sample = InterpreterSelectWithUnionQuery::getSampleBlock(create.select->clone(), getContext());
        properties.columns = ColumnsDescription(as_select_sample.getNamesAndTypesList());
    }
    else if (create.as_table_function)
    {
        
        auto table_function = TableFunctionFactory::instance().get(create.as_table_function, getContext());
        properties.columns = table_function->getActualTableStructure(getContext());
    }
    else if (create.is_dictionary)
    {
        return {};
    }
    
    
    else if (!StorageFactory::instance().checkIfStorageSupportsSchemaInterface(create.storage->engine->name)) 
        throw Exception("Incorrect CREATE query: required list of column descriptions or AS section or SELECT.", ErrorCodes::INCORRECT_QUERY);
    
    if (!create.columns_list)
        create.set(create.columns_list, std::make_shared<ASTColumns>());
    ASTPtr new_columns = formatColumns(properties.columns);
    ASTPtr new_indices = formatIndices(properties.indices);
    ASTPtr new_constraints = formatConstraints(properties.constraints);
    ASTPtr new_projections = formatProjections(properties.projections);
    create.columns_list->setOrReplace(create.columns_list->columns, new_columns);
    create.columns_list->setOrReplace(create.columns_list->indices, new_indices);
    create.columns_list->setOrReplace(create.columns_list->constraints, new_constraints);
    create.columns_list->setOrReplace(create.columns_list->projections, new_projections);
    validateTableStructure(create, properties);
    assert(as_database_saved.empty() && as_table_saved.empty());