提交 2a1eceef 编写于 作者: P proller

Try fix macos build

上级 42fcf148
......@@ -38,8 +38,12 @@ std::ostream & operator<<(std::ostream & stream, const DB::IDataType & what)
std::ostream & operator<<(std::ostream & stream, const DB::IStorage & what)
{
stream << "IStorage(name = " << what.getName() << ", tableName = " << what.getTableName() << ")"
<< " {" << what.getColumnsList() << "}";
stream << "IStorage(name = " << what.getName() << ", tableName = " << what.getTableName() << ") {"
// TODO: uncomment #if and fix me:
#if !defined(__APPLE__)
<< what.getColumnsList()
#endif
<< "}";
// isRemote supportsSampling supportsFinal supportsPrewhere supportsParallelReplicas
return stream;
}
......@@ -59,7 +63,12 @@ std::ostream & operator<<(std::ostream & stream, const DB::IFunction & what)
std::ostream & operator<<(std::ostream & stream, const DB::Block & what)
{
stream << "Block(data = " << what.getColumns() << ")";
stream << "Block("
// TODO: uncomment #if and fix me:
#if !defined(__APPLE__)
<< "data = " << what.getColumns()
#endif
<< ")";
return stream;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册