Ben Humphrey created ZEPPELIN-308:
-------------------------------------

             Summary: Unable to create more than 22 parameters for a case class
                 Key: ZEPPELIN-308
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-308
             Project: Zeppelin
          Issue Type: Bug
          Components: Core
         Environment: Azure HDInsight Spark Preview
            Reporter: Ben Humphrey


I am using Zeppelin in Azure's HDInsight and am unable to have more than 22 
columns when I create a "case class" definition.  Apparently this was fixed in 
2.11 of Scala and was wondering which version is Zeppelin using for Scala? Is 
there a plan on when Zeppelin will have 2.11 perhaps? 

As an example, if you paste this into a Zeppelin notebook (at least in 
HDInsight) it won't print the messages and will fail:

println("Start of application")

case class OrderDetail(AAA: String, BBB: String, CCC: String, EEE: String, FFF: 
String, GGG: String, HHH: String, III: String, JJJ: String, KKK: String, LLL: 
String, MMM: String, NNN: String, OOO: String, PPP: String, QQQ: String, RRR: 
String, SSS: String, TTT: String, UUU: String, VVV: String, WWW: String, 
BrokenIfHere: String)

println("Doesn't get here if 23+ columns exist")

But if you remove the last parameter (BrokenIfHere) it will work.  Here is the 
Scala Jira issue for reference:

https://issues.scala-lang.org/browse/SI-7296

This apparently was fixed around 2 years ago in Scala.

Thanks so much.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to