returns the string literal of the scalar value if it is a string
(s: &ScalarValue)
| 1805 | |
| 1806 | /// returns the string literal of the scalar value if it is a string |
| 1807 | fn unpack_string(s: &ScalarValue) -> Option<&str> { |
| 1808 | s.try_as_str().flatten() |
| 1809 | } |
| 1810 | |
| 1811 | fn extract_string_literal(expr: &Arc<dyn PhysicalExpr>) -> Option<&str> { |
| 1812 | if let Some(lit) = expr.downcast_ref::<phys_expr::Literal>() { |
no test coverage detected
searching dependent graphs…