You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jonahgao (via GitHub)" <gi...@apache.org> on 2024/03/01 06:29:45 UTC

[PR] Minor: improve the display name of `unnest` expressions [arrow-datafusion]

jonahgao opened a new pull request, #9412:
URL: https://github.com/apache/arrow-datafusion/pull/9412

   ## Which issue does this PR close?
   
   N/A
   
   ## Rationale for this change
   
   Make the display name of `unnest` shorter and more consistent with other functions.
   
   Currently on main branch:
   ```sh
   select unnest(a), array_length(a) from (values([1,2])) as t(a);
   +-----------------------------------------------------------------------------+-------------------+
   | UNNEST([Column(Column { relation: Some(Bare { table: "t" }), name: "a" })]) | array_length(t.a) |
   +-----------------------------------------------------------------------------+-------------------+
   | 1                                                                           | 2                 |
   | 2                                                                           | 2                 |
   +-----------------------------------------------------------------------------+-------------------+
   ```
   
   After PR:
   ```sh
   ❯ select unnest(a), array_length(a) from (values([1,2])) as t(a);
   +-------------+-------------------+
   | unnest(t.a) | array_length(t.a) |
   +-------------+-------------------+
   | 1           | 2                 |
   | 2           | 2                 |
   +-------------+-------------------+
   ```
   
   ## What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   ## Are these changes tested?
   Tested on CLI.
   
   ## Are there any user-facing changes?
   
   No
   


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Minor: improve the display name of `unnest` expressions [arrow-datafusion]

Posted by "jayzhan211 (via GitHub)" <gi...@apache.org>.
jayzhan211 merged PR #9412:
URL: https://github.com/apache/arrow-datafusion/pull/9412


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org