Skip to content

Conversation

NickCrews
Copy link
Contributor

I tried to make these more beginner friendly. "Scalar subquery" is very overwhelming for someone coming from pandas, and I think should be treated as an implementation detail.

I tried to add more examples, to actually show WHY you would want to use this.

@NickCrews
Copy link
Contributor Author

@cpcloud Great suggestions, I accepted them, thanks!

@NickCrews NickCrews force-pushed the docs-as_scalar-as_table branch from 77ce709 to 0809105 Compare October 16, 2025 19:40
@NickCrews NickCrews force-pushed the docs-as_scalar-as_table branch from 0809105 to cedbc6b Compare October 17, 2025 01:27
@NickCrews
Copy link
Contributor Author

The two fixup commits I had to add here (because I thought we errored when doing bogus comparisons, but we don't actually error) to adjust the docstrings inspired me to write #11697

But that is a separate PR.

>>> t.filter(t.island == heavy_gentoo.island) # quartodoc: +EXPECTED_FAILURE
Traceback (most recent call last):
...
_duckdb.BinderException: Binder Error: Referenced table "t1" not found!
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currenty this errors at execution time. Is it possible for us to make this instead error at Expression construction time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants