Github user liancheng commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10851#discussion_r50589211
  
    --- Diff: project/SparkBuild.scala ---
    @@ -34,13 +34,24 @@ object BuildCommons {
     
       private val buildLocation = file(".").getAbsoluteFile.getParentFile
     
    -  val allProjects@Seq(catalyst, core, graphx, hive, hiveThriftServer, 
mllib, repl,
    -    sql, networkCommon, networkShuffle, streaming, streamingFlumeSink, 
streamingFlume, streamingAkka, streamingKafka,
    -    streamingMqtt, streamingTwitter, streamingZeromq, launcher, unsafe, 
testTags) =
    -    Seq("catalyst", "core", "graphx", "hive", "hive-thriftserver", 
"mllib", "repl",
    -      "sql", "network-common", "network-shuffle", "streaming", 
"streaming-flume-sink",
    -      "streaming-flume", "streaming-akka", "streaming-kafka", 
"streaming-mqtt", "streaming-twitter",
    -      "streaming-zeromq", "launcher", "unsafe", 
"test-tags").map(ProjectRef(buildLocation, _))
    +  val sqlProjects@Seq(catalyst, sql, hive, hiveThriftServer) = Seq(
    +    "catalyst", "sql", "hive", "hive-thriftserver"
    +  ).map(ProjectRef(buildLocation, _))
    +
    +  val streamingProjects@Seq(
    +    streaming, streamingFlumeSink, streamingFlume, streamingAkka, 
streamingKafka, streamingMqtt,
    +    streamingTwitter, streamingZeromq
    +  ) = Seq(
    +    "streaming", "streaming-flume-sink", "streaming-flume", 
"streaming-akka", "streaming-kafka",
    +    "streaming-mqtt", "streaming-twitter", "streaming-zeromq"
    +  ).map(ProjectRef(buildLocation, _))
    +
    +  val allProjects@Seq(
    +    core, graphx, mllib, repl, networkCommon, networkShuffle, launcher, 
unsafe, testTags, sketch, _*
    +  ) = Seq(
    +    "core", "graphx", "mllib", "repl", "network-common", 
"network-shuffle", "launcher", "unsafe",
    +    "test-tags", "sketch"
    +  ).map(ProjectRef(buildLocation, _)) ++ sqlProjects ++ streamingProjects
    --- End diff --
    
    Had to break it down since the original pattern match somehow introduced an 
implicit tuple containing more than 22 fields after adding the spark-sketch 
module.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to