You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/08/28 09:17:00 UTC

[GitHub] [arrow-datafusion] jorgecarleitao commented on pull request #952: Change compound column field name rules

jorgecarleitao commented on pull request #952:
URL: https://github.com/apache/arrow-datafusion/pull/952#issuecomment-907598940


   Thanks for the proposal.
   
   imo it is a bit counter-intuitive to write `SELECT MIN(c1) FROM table1` and get `MIN(table.c1)` as the schema. Are there other engine doing this?
   
   I am curious how this interacts with the dataframe API. E.g. (pseudo-code)
   
   ```rust
   df = ctx.create_in_memory_table("table1", batches)?;
   df = df.agg(sum(df["c1"]))?;
   df.collect()
   ```
   
   would yield the schema `"SUM(table1.c1)"` or `"SUM(c1)"`? Would I need to write `df = df.agg(sum(df["table.c1"]))?;` instead?


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