As discussed with @kitaisreal 
#include <Core/NamesAndTypes.h>
#include <DataTypes/DataTypeFactory.h>
#include <IO/ReadBuffer.h>
#include <IO/WriteBuffer.h>
#include <IO/ReadHelpers.h>
#include <IO/WriteHelpers.h>
#include <IO/ReadBufferFromString.h>
#include <IO/WriteBufferFromString.h>
#include <Common/DenseHashMap.h>
namespace DB
{
namespace ErrorCodes
{
    extern const int THERE_IS_NO_COLUMN;
}
NameAndTypePair::NameAndTypePair(