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

[GLUTEN-7600][VL] Prepare test case for the removal of workaround code for empty schema batches #7601

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

zhztheplayer
Copy link
Member

Part of #7600

Add a unit test to guard against the removal of special handling code in query planner for empty schema batches. E.g., EmptySchemaWorkaround and OffloadHashAggregate.

Also with some code cleanups against some other unrelated PRs recently merged to main.

@github-actions github-actions bot added CORE works for Gluten Core VELOX INFRA labels Oct 18, 2024
Copy link

#7600

Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

Comment on lines +927 to +932
val filePath = rootPath + "/datasource/csv/student.csv"
val df = spark.read
.format("csv")
.option("header", "true")
.load(filePath)
df.createOrReplaceTempView("student")
Copy link
Member Author

Choose a reason for hiding this comment

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

nit: The table creation code is duplicated in different cases. Refactor required.

Copy link

Run Gluten Clickhouse CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CORE works for Gluten Core INFRA VELOX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants