Skip to content

Conversation

@sarutak
Copy link
Member

@sarutak sarutak commented May 20, 2016

What changes were proposed in this pull request?

This PR introduce place holder for comment in generated code and the purpose is same for #12939 but much safer.

Generated code to be compiled doesn't include actual comments but includes place holder instead.

Place holders in generated code will be replaced with actual comments only at the time of logging.

Also, this PR can resolve SPARK-15205.

How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

Added new test cases.

@sarutak
Copy link
Member Author

sarutak commented May 20, 2016

CC: @davies

Copy link
Contributor

Choose a reason for hiding this comment

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

Why remove this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops. It's copy/paste miss.

@sarutak sarutak force-pushed the SPARK-15165-branch-1.6 branch from e33dbe7 to 68cffe2 Compare May 20, 2016 20:45
@SparkQA
Copy link

SparkQA commented May 20, 2016

Test build #59024 has finished for PR 13230 at commit e33dbe7.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 20, 2016

Test build #3008 has finished for PR 13230 at commit e33dbe7.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 20, 2016

Test build #59025 has finished for PR 13230 at commit 68cffe2.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@davies
Copy link
Contributor

davies commented May 20, 2016

LGTM, merging into 1.6 branch.

asfgit pushed a commit that referenced this pull request May 20, 2016
… in generated code (branch-1.6)

## What changes were proposed in this pull request?

This PR introduce place holder for comment in generated code and the purpose is same for #12939 but much safer.

Generated code to be compiled doesn't include actual comments but includes place holder instead.

Place holders in generated code will be replaced with actual comments only at the time of logging.

Also, this PR can resolve SPARK-15205.

## How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

Added new test cases.

Author: Kousuke Saruta <[email protected]>

Closes #13230 from sarutak/SPARK-15165-branch-1.6.
@davies
Copy link
Contributor

davies commented May 21, 2016

Could you close this?

@sarutak sarutak closed this May 21, 2016
zzcclp pushed a commit to zzcclp/spark that referenced this pull request May 22, 2016
… in generated code (branch-1.6)

This PR introduce place holder for comment in generated code and the purpose is same for apache#12939 but much safer.

Generated code to be compiled doesn't include actual comments but includes place holder instead.

Place holders in generated code will be replaced with actual comments only at the time of logging.

Also, this PR can resolve SPARK-15205.

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

Added new test cases.

Author: Kousuke Saruta <[email protected]>

Closes apache#13230 from sarutak/SPARK-15165-branch-1.6.

(cherry picked from commit 9a18115)

Conflicts:
	sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/GenerateOrdering.scala
	sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/GenerateColumnAccessor.scala
@sarutak sarutak deleted the SPARK-15165-branch-1.6 branch June 4, 2021 20:47
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.

3 participants