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

[Python] Support replacement scan on table method #76

Closed
wants to merge 339 commits into from

Conversation

Tishj
Copy link
Owner

@Tishj Tishj commented Oct 19, 2023

This is done by changing the TryReplacement code to produce a Relation instead, using GetTableRef to get the TableRef that was previously produced by this function.

The main change here is that previously Relations did a bind in their constructor, which would fail in TryReplacement because that itself is called in a Bind. Grabbing the ClientContextLock there would cause a deadlock.

Now we move this binding out to a separate Verify() method.
It might be a bit of a misnomer, because initially this was taught to only effect feedback loop to the user but while testing this seemed to also be required by execute logic.

Tishj and others added 30 commits September 7, 2023 17:43
Change API to pass frame lists instead of window setting.
# Conflicts:
#	src/core_functions/scalar/list/CMakeLists.txt
#	src/planner/binder/expression/bind_function_expression.cpp
Support the EXCLUDE modifiers for COUNT(*).
Use swap instead of copying.
Implement exclude syntax for array_agg and friends.
Fix non-contiguous NULL detection.
# Conflicts:
#	src/core_functions/lambda_functions.cpp
#	src/function/scalar_function.cpp
#	src/include/duckdb/planner/expression/bound_lambda_expression.hpp
#	src/planner/expression/bound_lambdaref_expression.cpp
#	src/storage/serialization/serialize_parsed_expression.cpp
Mytherin and others added 22 commits October 12, 2023 20:03
Feature: Fixed size list nested type (ARRAY)
Internal duckdb#215: Window EXCLUDE Functionality
Add `json_serialize_plan`, json_serialize_sql tweaks
…port_to_fuzzer

Add create statement support to fuzzer
Allow file_row_number with parquet schema option
CSV - Always run sniffer by default
@github-actions github-actions bot marked this pull request as draft October 19, 2023 11:08
@Tishj Tishj closed this Oct 21, 2023
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.