Re: [I] Create more user friendly aliases from `col` [datafusion-python]

2025-03-20 Thread via GitHub
deanm commented on issue #754: URL: https://github.com/apache/datafusion-python/issues/754#issuecomment-2741575371 Another potential friendly alias method is to use **kwargs in `select` and `aggregate`. Here's a select implementation: ```python def select(self, *exprs: Exp

Re: [I] Create more user friendly aliases from `col` [datafusion-python]

2025-02-22 Thread via GitHub
Spaarsh commented on issue #754: URL: https://github.com/apache/datafusion-python/issues/754#issuecomment-2676172533 @timsaucer I was thinking of going down the route of writing some workaround to this in our python interface since the issue originally mentioned it. Changing the logic upst

Re: [I] Create more user friendly aliases from `col` [datafusion-python]

2025-02-21 Thread via GitHub
timsaucer commented on issue #754: URL: https://github.com/apache/datafusion-python/issues/754#issuecomment-2675805174 I think @Spaarsh is on the right track for this one, that it more likely needs to be resolved in the upstream repo. Or we would have to do some form of work around.

Re: [I] Create more user friendly aliases from `col` [datafusion-python]

2025-02-21 Thread via GitHub
sidshehria commented on issue #754: URL: https://github.com/apache/datafusion-python/issues/754#issuecomment-2673992155 **Problem Statement:** - When using DataFusion in Python, column names often include a default alias like `?table?` . - This can make the column names less u

Re: [I] Create more user friendly aliases from `col` [datafusion-python]

2025-02-20 Thread via GitHub
Spaarsh commented on issue #754: URL: https://github.com/apache/datafusion-python/issues/754#issuecomment-2671975156 @timsaucer I have been trying to triage this for a while. The corresponding code where the ```?table?``` string gets added in the ```datafusion``` is [this](https://