neilconway opened a new issue, #20223:
URL: https://github.com/apache/datafusion/issues/20223
### Describe the bug
When to_timestamp() was invoked with a scalar Float64 and an array of
strings, the previous coding neglected to broadcast the scalar to the array
properly when producing the return value.
### To Reproduce
```
CREATE TABLE t61(v2 STRING);
INSERT INTO t61(v2) VALUES ('flX'), ('3');
SELECT TO_TIMESTAMP(123.5, tt0.v2) FROM t61 AS tt0;
```
Yields
```
Internal error: UDF to_timestamp returned a different number of rows than
expected. Expected: 2, Got: 1
```
### Expected behavior
_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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]