drtconway opened a new issue, #16327: URL: https://github.com/apache/datafusion/issues/16327
### Describe the bug I have a UInt64 column containing a 64-bit hash which I want to convert to a hex string. `to_hex` should work, but gives the error: ``` Error: Custom { kind: Other, error: Plan("Failed to coerce arguments to satisfy a call to 'to_hex' function: coercion from [UInt64] to the signature Uniform(1, [Int64]) failed No function matches the given name and argument types 'to_hex(UInt64)'. You might need to add explicit type casts.\n\tCandidate functions:\n\tto_hex(Int64)") } ``` ### To Reproduce Create a DataFrame with a UInt64 column. Attempt to execute code such as ```rust df.with_column("my_hash_str", to_hex(col("my_hash")))?; ``` ### Expected behavior We would expect `to_hex` to correctly produce a hex string, especially for unsigned types! ### 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