alamb opened a new issue, #14166: URL: https://github.com/apache/datafusion/issues/14166
### Is your feature request related to a problem or challenge? We hit a bug upstream in InfluxDB in pruning where we didn't match a certain kind of string ScalarValue In this case , we want to access the underlying `str`value of a `ScalarValue` that holds a logical string (ScalarValue::Ut8 and ScalarValue::LargeUtf8 for example) There are several types I know of (Utf8, LargeUtf8, Utf8View, and Dictionary(.., <...>) Today we need to remember to check for all the relent types ### Describe the solution you'd like I would like a function on `ScalarValue` that does this -- so we don't have bugs when we forget to check for a type. ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org