chenkovsky commented on code in PR #17367:
URL: https://github.com/apache/datafusion/pull/17367#discussion_r2366203345
##########
datafusion/sql/src/unparser/dialect.rs:
##########
@@ -267,6 +274,14 @@ impl Dialect for DefaultDialect {
pub struct PostgreSqlDialect {}
impl Dialect for PostgreSqlDialect {
+ fn supports_qualify(&self) -> bool {
+ false
+ }
+
+ fn requires_derived_table_alias(&self) -> bool {
+ true
+ }
Review Comment:
it's another bug. postgres must has an alias for derived table.
ERROR: subquery in FROM must have an alias.
I come across this error when I try to fix this issue.
--
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]