@@ -341,11 +341,11 @@ ProjectOperator::ProjectOperator(std::unique_ptr<Operator> child,
341341
342342bool ProjectOperator::init () {
343343 if (!child_->init ()) return false ;
344-
344+
345345 is_simple_projection_ = true ;
346346 column_mapping_.clear ();
347347 auto & child_schema = child_->output_schema ();
348-
348+
349349 // Check if we have a single "*" column and expand it
350350 bool has_star = false ;
351351 if (columns_.size () == 1 && columns_[0 ]->type () == parser::ExprType::Column) {
@@ -364,7 +364,7 @@ bool ProjectOperator::init() {
364364 const auto * c_expr = static_cast <const parser::ColumnExpr*>(expr.get ());
365365 size_t idx = child_schema.find_column (c_expr->to_string ());
366366 if (idx == static_cast <size_t >(-1 )) idx = child_schema.find_column (c_expr->name ());
367-
367+
368368 if (idx != static_cast <size_t >(-1 )) {
369369 column_mapping_.push_back (idx);
370370 } else {
@@ -377,7 +377,7 @@ bool ProjectOperator::init() {
377377 }
378378 }
379379 }
380-
380+
381381 set_state (ExecState::Init);
382382 return true ;
383383}
@@ -974,9 +974,9 @@ bool ProjectOperator::next_view(storage::HeapTable::TupleView& out_view) {
974974 } else {
975975 // Fallback: This is not optimal but satisfies the semantics.
976976 // Future work: Batch materialization or local buffer.
977- // For now, we dont return true for computed stuff in next_view
977+ // For now, we dont return true for computed stuff in next_view
978978 // to avoid exposing raw data incorrectly.
979- return false ;
979+ return false ;
980980 }
981981 }
982982 return false ;
@@ -989,7 +989,8 @@ bool FilterOperator::next_view(storage::HeapTable::TupleView& out_view) {
989989 if (!condition_) return true ;
990990 // Evaluate condition against the view.
991991 // For performance, we materialize into a thread-local or arena-based Tuple
992- // if we wanted to avoid allocation per row, but for now we use the operator memory resource.
992+ // if we wanted to avoid allocation per row, but for now we use the operator memory
993+ // resource.
993994 executor::Tuple t = out_view.materialize (get_memory_resource ());
994995 if (condition_->evaluate (&t, &child_schema, get_params ()).as_bool ()) {
995996 return true ;
0 commit comments