Add BigQuery platform with engine-only integration tests#774
Open
JunWang222 wants to merge 14 commits into
Open
Add BigQuery platform with engine-only integration tests#774JunWang222 wants to merge 14 commits into
JunWang222 wants to merge 14 commits into
Conversation
Run the whole Wayang plan, including the terminal sink, inside BigQuery: register only BigQuery.plugin(), end every BigQueryOperatorsIT test in a TableSink that compiles to CREATE TABLE `proj.ds.t` AS SELECT, and assert results via plain JDBC after execute() returns. With no Java plugin the optimizer must push down, so the sink table's contents prove in-engine execution (BigQuery has no system.runtime.queries). - jdbc-template JdbcExecutor.executeSinkStage: use selectStartTask for multi-source joins and collect global-reduce/reduce-by/sort into the composed CREATE TABLE AS SELECT (ported from wayang-trino-only-test). - BigQueryOperatorsIT: 13 engine-only tests (8 operator-level + 5 JavaPlanBuilder); join Tuple2->Record handled by a test-only flatten mapping to BigQueryProjectionOperator; lookup key renamed region_name to avoid a duplicate column in the CTAS. DDL-only (free-tier safe). - improvement.md: document the engine-only shape. Verified against real BigQuery: Tests run: 13, Failures: 0, Errors: 0, Skipped: 0; 13 CREATE TABLE AS SELECT executed in BigQuery. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the Wayang BigQuery platform implementation and engine-only integration tests.
What is included
wayang-bigqueryplatform module.BigQueryOperatorsITcoverage for each operator.BigQuery.plugin().Validation
apache/wayang:main.