[refactor] fix warings when compile with clang (#8069)

This commit is contained in:
Zhengguo Yang
2022-02-19 11:29:02 +08:00
committed by GitHub
parent 8892780091
commit 50864aca7d
200 changed files with 1750 additions and 2617 deletions

View File

@ -112,8 +112,8 @@ CsvScanNode::~CsvScanNode() {
// do nothing
}
Status CsvScanNode::init(const TPlanNode& tnode) {
return ExecNode::init(tnode);
Status CsvScanNode::init(const TPlanNode& tnode, RuntimeState* state) {
return ExecNode::init(tnode, state);
}
Status CsvScanNode::prepare(RuntimeState* state) {
@ -556,7 +556,8 @@ bool CsvScanNode::split_check_fill(const std::string& line, RuntimeState* state)
fields[i].length(), slot, state, &error_msg);
if (flag == false) {
LOG(INFO) << error_msg.str();;
LOG(INFO) << error_msg.str();
;
return false;
}
}