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


##########
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:
   @goldmedal FYI, this is another change to unnest - I want to always do alias 
to make behaviour more consistent



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

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

Reply via email to