Fix style and build errors.

This commit is contained in:
Avogar 2020-03-27 00:11:33 +03:00
parent b02636f916
commit bc9d18a9c4
3 changed files with 7 additions and 5 deletions

View File

@ -165,14 +165,16 @@ bool MsgPackRowInputFormat::readRow(MutableColumns & columns, RowReadExtension &
return true;
}
void registerInputFormatProcessorMsgPack(FormatFactory & factory) {
void registerInputFormatProcessorMsgPack(FormatFactory & factory)
{
factory.registerInputFormatProcessor("MsgPack", [](
ReadBuffer &buf,
const Block &sample,
const RowInputFormatParams &params,
const FormatSettings &) {
const FormatSettings &)
{
return std::make_shared<MsgPackRowInputFormat>(sample, buf, params);
});
}
}
}

View File

@ -25,4 +25,4 @@ private:
msgpack::object_handle object_handle;
};
}
}

View File

@ -150,4 +150,4 @@ void registerOutputFormatProcessorMsgPack(FormatFactory & factory)
});
}
}
}