nuno-faria opened a new issue, #26008:
URL: https://github.com/apache/datafusion/issues/26008
### Describe the bug
Some SQL dialects do not support `random` but support `rand` (MySqlDialect,
BigQueryDialect).
### To Reproduce
```rust
let ctx = SessionContext::new();
let plan = ctx.sql("select random()").await?.into_unoptimized_plan();
let unparser = Unparser::new(&MySqlDialect {});
println!("{}", unparser.plan_to_sql(&plan)?);
```
### Expected behavior
Convert `random()` to `rand()` for some dialects.
### 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]