[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2018-04-02 Thread Joe Pallas (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423495#comment-16423495 ] Joe Pallas commented on SPARK-22393: Following up to my previous comment: [~mpetruska], It looks like

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2018-03-31 Thread Joe Pallas (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16421548#comment-16421548 ] Joe Pallas commented on SPARK-22393: The changes that were imported inĀ 

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-30 Thread Saisai Shao (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16273985#comment-16273985 ] Saisai Shao commented on SPARK-22393: - Shall we wait for this before 2.2.1 is out? > spark-shell

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-29 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16270912#comment-16270912 ] Mark Petruska commented on SPARK-22393: --- [~srowen], [~rdub], I can now confirm that the original

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-29 Thread Apache Spark (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16270903#comment-16270903 ] Apache Spark commented on SPARK-22393: -- User 'mpetruska' has created a pull request for this issue:

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-29 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16270897#comment-16270897 ] Sean Owen commented on SPARK-22393: --- OK, so this is basically "fixed for Scala 2.12 only"? >

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-29 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16270605#comment-16270605 ] Mark Petruska commented on SPARK-22393: --- Based on the comments above and the comments in the Scala

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-25 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265666#comment-16265666 ] Mark Petruska commented on SPARK-22393: --- I believe the scala repl fix would also fix this. Forcing

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-24 Thread Ryan Williams (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265543#comment-16265543 ] Ryan Williams commented on SPARK-22393: --- Just confirming: it's expected that the Scala 2.11 repl

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-24 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265522#comment-16265522 ] Sean Owen commented on SPARK-22393: --- That's great detective work. You may be able to tell better than I

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-24 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265445#comment-16265445 ] Mark Petruska commented on SPARK-22393: --- Created a PR to retrofit the fix to scala repl 2.11:

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-24 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265401#comment-16265401 ] Mark Petruska commented on SPARK-22393: --- The fix for this went into the 2.12 branch of scala:

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-24 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265398#comment-16265398 ] Mark Petruska commented on SPARK-22393: --- https://github.com/scala/bug/issues/9881 > spark-shell

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-24 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265394#comment-16265394 ] Mark Petruska commented on SPARK-22393: --- Proof for the above statement: Tracing the import handler

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-24 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265385#comment-16265385 ] Mark Petruska commented on SPARK-22393: --- After digging in deeper, I found that there is a high

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-23 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16264102#comment-16264102 ] Mark Petruska commented on SPARK-22393: --- The problem is also reproducible with non-spark related

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-19 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16258476#comment-16258476 ] Mark Petruska commented on SPARK-22393: --- Trace of the 2.11 version: {code} ... parse(" class

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-19 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16258469#comment-16258469 ] Mark Petruska commented on SPARK-22393: --- The difference between scala repls 2.11 and 2.12 is seen

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-19 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16258468#comment-16258468 ] Mark Petruska commented on SPARK-22393: --- With the 2.12 build: {code} import

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-11-19 Thread Mark Petruska (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16258441#comment-16258441 ] Mark Petruska commented on SPARK-22393: --- Tested with spark-shell build 2.11: {code} import

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-10-29 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16224194#comment-16224194 ] Sean Owen commented on SPARK-22393: --- I'm guessing it's something to do with how it overrides the shell

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-10-29 Thread Ryan Williams (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16224158#comment-16224158 ] Ryan Williams commented on SPARK-22393: --- Everything works fine in a Scala shell ({{scala -cp

[jira] [Commented] (SPARK-22393) spark-shell can't find imported types in class constructors, extends clause

2017-10-29 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16224040#comment-16224040 ] Sean Owen commented on SPARK-22393: --- That's a weird one. {{class P(p: org.apache.spark.Partition)}}