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

[SPARK-8710] [SQL] Change ScalaReflection.mirror from a val to a def. #7094

Closed
wants to merge 1 commit into from
Closed

Conversation

yhuai
Copy link
Contributor

@yhuai yhuai commented Jun 29, 2015

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished. Test FAILed.

@@ -28,7 +28,8 @@ import org.apache.spark.sql.types._
*/
object ScalaReflection extends ScalaReflection {
val universe: scala.reflect.runtime.universe.type = scala.reflect.runtime.universe
val mirror: universe.Mirror = universe.runtimeMirror(Thread.currentThread().getContextClassLoader)
override def mirror: universe.Mirror =
Copy link
Contributor

Choose a reason for hiding this comment

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

can you add inline comment explaining why this needs to be a def?

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@SparkQA
Copy link

SparkQA commented Jun 29, 2015

Test build #36037 has started for PR 7094 at commit c854baa.

@rxin
Copy link
Contributor

rxin commented Jun 29, 2015

lgtm

@SparkQA
Copy link

SparkQA commented Jun 29, 2015

Test build #36037 has finished for PR 7094 at commit c854baa.

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

@AmplabJenkins
Copy link

Merged build finished. Test PASSed.

@rxin
Copy link
Contributor

rxin commented Jun 29, 2015

Merged.

asfgit pushed a commit that referenced this pull request Jun 29, 2015
jira: https://issues.apache.org/jira/browse/SPARK-8710

Author: Yin Huai <yhuai@databricks.com>

Closes #7094 from yhuai/SPARK-8710 and squashes the following commits:

c854baa [Yin Huai] Change ScalaReflection.mirror from a val to a def.

(cherry picked from commit 4b497a7)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in 4b497a7 Jun 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants