Cast value to DECIMAL
(
&self,
value: Value,
_precision: Option<u8>,
_scale: Option<u8>,
)
| 5134 | |
| 5135 | /// Cast value to DECIMAL |
| 5136 | fn cast_to_decimal( |
| 5137 | &self, |
| 5138 | value: Value, |
| 5139 | _precision: Option<u8>, |
| 5140 | _scale: Option<u8>, |
| 5141 | ) -> Result<Value, ExecutionError> { |
| 5142 | // For now, treat DECIMAL same as DOUBLE |
| 5143 | // In a full implementation, we'd respect precision and scale |
| 5144 | self.cast_to_double(value) |
| 5145 | } |
| 5146 | |
| 5147 | /// Evaluate a literal value |
| 5148 | fn evaluate_literal(&self, literal: &crate::ast::Literal) -> Result<Value, ExecutionError> { |
no test coverage detected