spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vanzin <>
Subject [GitHub] spark pull request: [minor] [sql] Partial revert of e683182c3e.
Date Tue, 19 May 2015 02:19:07 GMT
Github user vanzin commented on the pull request:
    For those curious, the compilation thing seems to be something super weird with scalac.
This code compiles fine:
        package org.apache.spark.sql
        import org.apache.spark.sql.catalyst.JavaTypeInference
        object foo{
          def main(args: Array[String]): Unit = {
    While the following java code:
        import org.apache.spark.sql.catalyst.JavaTypeInference$;
        class foo {
          public static void main(String[] args) {
    Fails with the expected error:
    inferDataType(org.spark-project.guava.reflect.TypeToken<?>) in
org.apache.spark.sql.catalyst.JavaTypeInference$ cannot be applied to (<foo>)
    Perhaps it has something to do with the fact that we're using a technically illegal package
name for the shaded classes (`org.spark-project`).

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message