goldmedal commented on code in PR #14781:
URL: https://github.com/apache/datafusion/pull/14781#discussion_r1995765092


##########
datafusion/sql/src/unparser/plan.rs:
##########
@@ -860,8 +877,12 @@ impl Unparser<'_> {
         query: &mut Option<QueryBuilder>,
         select: &mut SelectBuilder,
         relation: &mut RelationBuilder,
+        alias: &str,
     ) -> Result<()> {
         let mut unnest_relation = UnnestRelationBuilder::default();
+
+        unnest_relation.alias(Some(self.new_table_alias(alias.to_string(), 
vec![])));
+

Review Comment:
   https://github.com/apache/datafusion/issues/15233
   I created an issue to explain more.



-- 
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]

Reply via email to