Skip to content

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

Merged
zhztheplayer merged 10 commits intoapache:mainfrom
zhztheplayer:wip-7600-1
Oct 21, 2024
Merged

[GLUTEN-7600][VL] Prepare test case for the removal of workaround code for empty schema batches#7601
zhztheplayer merged 10 commits intoapache:mainfrom
zhztheplayer:wip-7600-1

Conversation

@zhztheplayer
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown

#7600

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@github-actions
Copy link
Copy Markdown

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
Copy Markdown
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.

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@zhztheplayer
Copy link
Copy Markdown
Member Author

zhztheplayer commented Oct 21, 2024

@zhztheplayer
Copy link
Copy Markdown
Member Author

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