| 124 | } |
| 125 | |
| 126 | string SlotRef::DebugString() const { |
| 127 | stringstream out; |
| 128 | out << "SlotRef(slot_id=" << slot_id_ |
| 129 | << " tuple_idx=" << tuple_idx_ << " slot_offset=" << slot_offset_ |
| 130 | << " tuple_is_nullable=" << tuple_is_nullable_ |
| 131 | << " null_indicator=" << null_indicator_offset_ |
| 132 | << ScalarExpr::DebugString() << ")"; |
| 133 | return out.str(); |
| 134 | } |
| 135 | |
| 136 | void SlotRef::AssignFnCtxIdx(int* next_fn_ctx_idx) { |
| 137 | if (!type_.IsStructType()) { |
no test coverage detected