Skip to content
Snippets Groups Projects
Commit 55561e76 authored by Davies Liu's avatar Davies Liu Committed by Reynold Xin
Browse files

[SPARK-13031][SQL] cleanup codegen and improve test coverage

1. enable whole stage codegen during tests even there is only one operator supports that.
2. split doProduce() into two APIs: upstream() and doProduce()
3. generate prefix for fresh names of each operator
4. pass UnsafeRow to parent directly (avoid getters and create UnsafeRow again)
5. fix bugs and tests.

This PR re-open #10944 and fix the bug.

Author: Davies Liu <davies@databricks.com>

Closes #10977 from davies/gen_refactor.
parent 8d3cc3de
No related branches found
No related tags found
No related merge requests found
Showing
with 350 additions and 205 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment