Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Multiple aliases on the same column not behaving as expected #2229

Closed
zbrookle opened this issue Jun 2, 2020 · 2 comments · Fixed by #2249
Closed

BUG: Multiple aliases on the same column not behaving as expected #2229

zbrookle opened this issue Jun 2, 2020 · 2 comments · Fixed by #2249
Labels
bug Incorrect behavior inside of ibis expressions Issues or PRs related to the expression API

Comments

@zbrookle
Copy link
Contributor

zbrookle commented Jun 2, 2020

column = table.some_column
table.projection(
        [
            column.name("alias1"),
            column.name("alias2"),
            column.name("alias3"),
        ]
    )

I think the expected behavior would be a table expression with:

Selection[table]
  table:
    Table: ref_0
  selections:
    alias1 = Column[float64*] 'some_column' from table
      ref_0
    alias2 = Column[float64*] 'some_column' from table
      ref_0
    alias3 = Column[float64*] 'some_column' from table
      ref_0

However, the result I'm getting is:

Selection[table]
  table:
    Table: ref_0
  selections:
    alias1 = Column[float64*] 'some_column' from table
      ref_0
    alias1 = Column[float64*] 'some_column' from table
      ref_0
    alias1 = Column[float64*] 'some_column' from table
      ref_0
@jreback jreback added bug Incorrect behavior inside of ibis expressions Issues or PRs related to the expression API labels Jun 14, 2020
@jreback jreback added this to the Next Bugfix Release milestone Jun 14, 2020
@jreback jreback reopened this Jul 17, 2020
@jreback
Copy link
Contributor

jreback commented Jul 17, 2020

reverting the PR

@datapythonista datapythonista removed this from the Next Bugfix Release milestone Nov 11, 2020
@gforsyth
Copy link
Member

gforsyth commented Jan 4, 2022

Closed via #2284

@gforsyth gforsyth closed this as completed Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior inside of ibis expressions Issues or PRs related to the expression API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants