Skip to content

feat(core): enhance scope analysis and implement ByPass Function #802

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

Merged
merged 11 commits into from
Sep 25, 2024

Conversation

goldmedal
Copy link
Contributor

@goldmedal goldmedal commented Sep 24, 2024

Description

  • Implement the ByPass function for the remote DataSource function.
  • Register the remote data source table according to the MDL table
  • Fix the scope analysis for CTE and subquery
  • enable the TPCH. Close Support interval type #228

@goldmedal goldmedal marked this pull request as ready for review September 24, 2024 04:56
Copy link
Contributor

@grieve54706 grieve54706 left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines -30 to +31
{"name": "orderkey", "expression": "o_orderkey", "type": "integer"},
{"name": "custkey", "expression": "o_custkey", "type": "integer"},
{"name": "o_orderkey", "type": "integer"},
{"name": "o_custkey", "type": "integer"},
Copy link
Contributor

Choose a reason for hiding this comment

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

We can't purely rename the column name after this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. In this case, we won't provide any remote schema for them. Wren core will use the column without expression as the remote column.

@goldmedal goldmedal merged commit d783428 into Canner:main Sep 25, 2024
14 checks passed
@goldmedal goldmedal deleted the fix/fix-scope-metadata branch September 25, 2024 06:52
grieve54706 pushed a commit that referenced this pull request Dec 13, 2024
* remove unused return result

* implement ByPass function for udf, udaf and udwf

* format and enhance the doc

* create table schema refer to the column type

* fix the scope analyze for the CTE and subquery

* fix the interval unparsing and enable the tests

* enable the model test

* fix compile fails

* fix the python test

* fix ibis test

* fix ibis test
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