Replies: 1 comment 1 reply
-
Going to redo this as a poll. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to propose the removal of filtering and projection support from
__getitem__
and retain only the ability to select single columns from a table expression.__getitem__
functionality from column expressions would be unchangedThe rationale is that the behavior of these methods is hard to predict without semantic understanding of the expressions involved in the call.
Yyou cannot know whether the resulting expression is a projection or a filter without knowing details about the expressions involved.
Here's a simple example of this:
In contrast, when you see a call to the
select
method and a call tofilter
method you know what the resulting expression is.This would need to go through a deprecation cycle with a few releases before removing it.
Beta Was this translation helpful? Give feedback.
All reactions