[GitHub] spark issue #14638: [SPARK-11374][SQL] Support `skip.header.line.count` opti...

2017-04-21 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/14638 Since this pr won't be accepted. My solution is: ``` sql # create table using spark-csv CREATE TABLE tmp.cars USING com.databricks.spark.csv OPTIONS (path "/tmp/cars.csv&quo

[GitHub] spark issue #14638: [SPARK-11374][SQL] Support `skip.header.line.count` opti...

2017-04-21 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/14638 Also a useful feature for me. --- 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

[GitHub] spark issue #14638: [SPARK-11374][SQL] Support `skip.header.line.count` opti...

2017-11-01 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/14638 yes --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h

[GitHub] spark issue #21166: [SPARK-11334][CORE] clear idle executors in executorIdTo...

2018-04-27 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/21166 I have checked the latest master code. ``` scala // If the executor is no longer running any scheduled tasks, mark it as idle if (executorIdToTaskIds.contains

[GitHub] spark pull request #21166: [SPARK-11334][CORE] clear idle executors in execu...

2018-04-27 Thread sadhen
GitHub user sadhen reopened a pull request: https://github.com/apache/spark/pull/21166 [SPARK-11334][CORE] clear idle executors in executorIdToTaskIds keySet ## What changes were proposed in this pull request? quote from #11205 > Executors may never be i

[GitHub] spark pull request #21166: [SPARK-11334][CORE] clear idle executors in execu...

2018-04-27 Thread sadhen
Github user sadhen closed the pull request at: https://github.com/apache/spark/pull/21166 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark pull request #21166: [SPARK-11334][CORE] clear idle executors in execu...

2018-05-29 Thread sadhen
Github user sadhen closed the pull request at: https://github.com/apache/spark/pull/21166 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark issue #11205: [SPARK-11334][Core] Handle maximum task failure situatio...

2018-04-26 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/11205 @jerryshao I think the 2nd bullet has not been fixed in SPARK-13054. I use spark 2.1.1, and I still find that finished tasks remain in `private val executorIdToTaskIds = new

[GitHub] spark pull request #21166: [SPARK-11334][CORE] clear idle executors in execu...

2018-04-26 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/21166 [SPARK-11334][CORE] clear idle executors in executorIdToTaskIds keySet ## What changes were proposed in this pull request? quote from #11205 > Executors may never be i

[GitHub] spark pull request #22069: [MINOR][DOC] Fix Java example code in Column's co...

2018-08-10 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/22069 [MINOR][DOC] Fix Java example code in Column's comments ## What changes were proposed in this pull request? Fix scaladoc in Column ## How was this patch tested? None You can merge

[GitHub] spark pull request #22260: [MINOR] Fix scala 2.12 build using collect

2018-08-28 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/22260 [MINOR] Fix scala 2.12 build using collect ## What changes were proposed in this pull request? Introduced by #21320 ``` [error] [warn] spark/sql/core/src/main/scala/org/apache/spark

[GitHub] spark pull request #22260: [SQL][MINOR] Fix compiling for scala 2.12

2018-08-29 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22260#discussion_r213573236 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/ProjectionOverSchema.scala --- @@ -38,7 +38,7 @@ private[execution] case class

[GitHub] spark pull request #22264: [WIP][SPARK-25044][SQL] Plan mismatch errors in H...

2018-08-29 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/22264 [WIP][SPARK-25044][SQL] Plan mismatch errors in Hive tests in 2.12 ## What changes were proposed in this pull request? (Please fill in changes proposed in this fix) ## How

[GitHub] spark issue #22264: [WIP][SPARK-25256][SQL] Plan mismatch errors in Hive tes...

2018-08-29 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22264 To simplify: ``` Array(Int.box(1)).toSeq == Array(Double.box(1.0)).toSeq ``` is `false` in `2.12.x` and is `true` in `2.11.x

[GitHub] spark issue #22264: [WIP][SPARK-25256][SQL] Plan mismatch errors in Hive tes...

2018-08-29 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22264 @srowen Still work in progress. There are three unit test failures in total. The first one is fixed. And this is the cause of the second one: ``` Welcome

[GitHub] spark pull request #22264: [SPARK-25256][SQL][TEST] Plan mismatch errors in ...

2018-08-30 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22264#discussion_r214069522 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/QueryTest.scala --- @@ -290,6 +290,16 @@ object QueryTest { Row.fromSeq(row.toSeq.map

[GitHub] spark issue #22264: [SPARK-25256][SQL][TEST] Plan mismatch errors in Hive te...

2018-08-30 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22264 Comment resolved, please review. @srowen @maropu --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

[GitHub] spark pull request #22304: [SPARK-25297][Streaming][Test] Fix blocking unit ...

2018-09-01 Thread sadhen
Github user sadhen closed the pull request at: https://github.com/apache/spark/pull/22304 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark issue #22304: [SPARK-25297][Streaming][Test] Fix blocking unit tests f...

2018-09-01 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22304 @srowen @cloud-fan The merged #22292 already fixed it. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

[GitHub] spark pull request #22310: [Spark-25298][Build] Improve build definition for...

2018-09-01 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/22310 [Spark-25298][Build] Improve build definition for Scala 2.12 ## What changes were proposed in this pull request? Improve build for Scala 2.12. ## How was this patch tested

[GitHub] spark issue #22310: [Spark-25298][Build] Improve build definition for Scala ...

2018-09-01 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22310 @srowen This is a better solution for #22280 No hard-coded 2.11 or 2.12 any more. --- - To unsubscribe, e-mail

[GitHub] spark pull request #22308: [SPARK-25304][SQL][TEST] Fix HiveSparkSubmitSuite...

2018-09-01 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/22308 [SPARK-25304][SQL][TEST] Fix HiveSparkSubmitSuite SPARK-8489 test for Scala 2.12 ## What changes were proposed in this pull request? remove test-2.10.jar and add test-2.12.jar

[GitHub] spark issue #22308: [SPARK-25304][SQL][TEST] Fix HiveSparkSubmitSuite SPARK-...

2018-09-01 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22308 see https://github.com/apache/spark/pull/12924 and https://github.com/apache/spark/pull/11744 --- - To unsubscribe, e-mail

[GitHub] spark issue #22310: [Spark-25298][Build] Improve build definition for Scala ...

2018-09-01 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22310 @srowen It is about the sbt convention. see my demo project: https://github.com/sadhen/spark-25298 --- - To unsubscribe

[GitHub] spark issue #22308: [SPARK-25304][SQL][TEST] Fix HiveSparkSubmitSuite SPARK-...

2018-09-01 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22308 @cloud-fan @srowen This PR will make our jenkins build green. https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test/job/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.12

[GitHub] spark issue #22308: [SPARK-25304][SQL][TEST] Fix HiveSparkSubmitSuite SPARK-...

2018-09-01 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22308 Remove the deprecated 2.10 jar. And build a 2.12 jar. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

[GitHub] spark pull request #22355: [SPARK-25358][SQL] MutableProjection supports fal...

2018-09-07 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22355#discussion_r215859282 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/InterpretedMutableProjection.scala --- @@ -0,0 +1,83

[GitHub] spark pull request #22355: [SPARK-25358][SQL] MutableProjection supports fal...

2018-09-07 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22355#discussion_r215862272 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/InterpretedMutableProjection.scala --- @@ -0,0 +1,83

[GitHub] spark issue #22264: [SPARK-25256][SQL][TEST] Plan mismatch errors in Hive te...

2018-08-30 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22264 @srowen A PR for this "bug" is proposed: https://github.com/scala/scala/pull/7156 Hopefully, Scala 2.12.

[GitHub] spark issue #22264: [SPARK-25256][SQL][TEST] Plan mismatch errors in Hive te...

2018-08-30 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22264 ``` Welcome to __ / __/__ ___ _/ /__ _\ \/ _ \/ _ `/ __/ '_/ /___/ .__/\_,_/_/ /_/\_\ version 2.4.0-SNAPSHOT

[GitHub] spark issue #22264: [SPARK-25256][SQL][TEST] Plan mismatch errors in Hive te...

2018-08-30 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22264 scala/bug#11123 had been added into https://github.com/scala/bug/milestone/93 . I will spare some time working

[GitHub] spark pull request #22260: [SQL][MINOR] Fix compiling for scala 2.12

2018-08-29 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22260#discussion_r213884075 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveSparkSubmitSuite.scala --- @@ -19,7 +19,7 @@ package org.apache.spark.sql.hive

[GitHub] spark pull request #22260: [SQL][MINOR] Fix compiling for scala 2.12

2018-08-29 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22260#discussion_r213884559 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveSparkSubmitSuite.scala --- @@ -19,7 +19,7 @@ package org.apache.spark.sql.hive

[GitHub] spark issue #22260: [SQL][MINOR] Fix compiling for scala 2.12

2018-08-29 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22260 @maropu @srowen please review --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail

[GitHub] spark pull request #22260: [SQL][MINOR] Fix compiling for scala 2.12

2018-08-29 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22260#discussion_r213884979 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/ProjectionOverSchema.scala --- @@ -38,7 +38,7 @@ private[execution] case class

[GitHub] spark pull request #22264: [SPARK-25256][SQL] Plan mismatch errors in Hive t...

2018-08-29 Thread sadhen
GitHub user sadhen reopened a pull request: https://github.com/apache/spark/pull/22264 [SPARK-25256][SQL] Plan mismatch errors in Hive tests in 2.12 ## What changes were proposed in this pull request? ### For `SPARK-5775 read array from

[GitHub] spark issue #22264: [SPARK-25256][SQL] Plan mismatch errors in Hive tests in...

2018-08-29 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22264 @srowen please review, and this PR should be rebased on #22260 and then tested. --- - To unsubscribe, e-mail: reviews-unsubscr

[GitHub] spark pull request #22264: [SPARK-25256][SQL] Plan mismatch errors in Hive t...

2018-08-29 Thread sadhen
Github user sadhen closed the pull request at: https://github.com/apache/spark/pull/22264 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark pull request #22304: [SPARK-25297][Streaming][Test] Fix blocking unit ...

2018-08-31 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/22304 [SPARK-25297][Streaming][Test] Fix blocking unit tests for Scala 2.12 ## What changes were proposed in this pull request? Customize ExecutorContext's reporter to fix blocking unit tests

[GitHub] spark pull request #22280: [SPARK-25235] [Build] [SHELL] [FOLLOWUP] Fix repl...

2018-08-30 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/22280 [SPARK-25235] [Build] [SHELL] [FOLLOWUP] Fix repl compile for 2.12 ## What changes were proposed in this pull request? Error messages from https://amplab.cs.berkeley.edu/jenkins/view/Spark

[GitHub] spark issue #22304: [SPARK-25297][Streaming][Test] Fix blocking unit tests f...

2018-08-31 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22304 There is simplified project for this specific problem. https://github.com/sadhen/blocking-future --- - To unsubscribe, e

[GitHub] spark pull request #22304: [SPARK-25297][Streaming][Test] Fix blocking unit ...

2018-08-31 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22304#discussion_r214342975 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/util/FileBasedWriteAheadLog.scala --- @@ -65,7 +65,8 @@ private[streaming] class

[GitHub] spark pull request #22355: [SPARK-25358][SQL] MutableProjection supports fal...

2018-09-07 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22355#discussion_r216116648 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/InterpretedMutableProjection.scala --- @@ -0,0 +1,83

[GitHub] spark issue #22264: [SPARK-25256][SQL][TEST] Plan mismatch errors in Hive te...

2018-08-30 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22264 The fix works for both 2.11 and 2.12. And I reported a bug: https://github.com/scala/bug/issues/11123

[GitHub] spark issue #22355: [SPARK-25358][SQL] MutableProjection supports fallback t...

2018-09-11 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22355 @maropu there are tips to view the codegen: > spark.sql("explain codegen select 1 + 1").show(false) You may explain an aggregation, and the NoOp che

[GitHub] spark pull request #21059: fix when numExecutorsTarget equals maxNumExecutor...

2018-04-12 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/21059 fix when numExecutorsTarget equals maxNumExecutors ## What changes were proposed in this pull request? In dynamic allocation, there are cases that the `numExecutorsTarget` has reached

[GitHub] spark issue #21059: [SPARK-23974][CORE] fix when numExecutorsTarget equals m...

2018-04-13 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/21059 @jiangxb1987 I re-investigated the logs and find that there must be bugs in the yarn scheduler backend. And this PR is not the right way to fix the issue

[GitHub] spark pull request #21059: [SPARK-23974][CORE] fix when numExecutorsTarget e...

2018-04-13 Thread sadhen
Github user sadhen closed the pull request at: https://github.com/apache/spark/pull/21059 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark pull request #22685: [SQL][MINOR][Refactor] Refactor sql/core

2018-10-10 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/22685 [SQL][MINOR][Refactor] Refactor sql/core ## What changes were proposed in this pull request? Only minor changes on Scala syntax. ## How was this patch tested? Existing Tests You

[GitHub] spark issue #22685: [WIP][SQL][MINOR][Refactor] Refactor on sql/core

2018-10-10 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22685 @HyukjinKwon OK, most of changes are related to parens. I will consider to reset it back for backporting friendliness

[GitHub] spark issue #22577: [CORE][MINOR] Fix obvious error and compiling for Scala ...

2018-09-27 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22577 Dear Maintainers, please backport it to branch-2.4 if it is accepted. @cloud-fan @srowen --- - To unsubscribe, e-mail: reviews

[GitHub] spark issue #22577: [CORE][MINOR] Fix obvious error and compiling for Scala ...

2018-09-27 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22577 Error Message: ``` $ dev/change-scala-version.sh 2.12 ➜ spark git:(branch-2.4) ✗ sbt -Dscala.version=2.12.7 sbt (spark)> project core sbt (core)> clean

[GitHub] spark issue #22577: [CORE][MINOR] Fix obvious error and compiling for Scala ...

2018-09-27 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22577 @cloud-fan see: https://github.com/scala/scala/blob/2.12.x/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala

[GitHub] spark issue #22577: [CORE][MINOR] Fix obvious error and compiling for Scala ...

2018-09-28 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22577 @cloud-fan The bug is introduced by #19748 branch-2.2 is fine, but branch-2.3 should be fixed. --- - To unsubscribe, e

[GitHub] spark pull request #22577: [CORE][MINOR] Fix obvious error and compiling for...

2018-09-27 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/22577 [CORE][MINOR] Fix obvious error and compiling for Scala 2.12.7 ## What changes were proposed in this pull request? Fix an obvious error. ## How was this patch tested

[GitHub] spark issue #22577: [CORE][MINOR] Fix obvious error and compiling for Scala ...

2018-09-28 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22577 @HyukjinKwon Yes, just confirmed. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e

[GitHub] spark pull request #22685: [SQL][MINOR][Refactor] Refactor on sql/core

2018-10-10 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22685#discussion_r224053653 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/StaticSQLConf.scala --- @@ -123,7 +123,7 @@ object StaticSQLConf { val

[GitHub] spark pull request #22685: [SQL][MINOR][Refactor] Refactor on sql/core

2018-10-10 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22685#discussion_r224054020 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/api/r/SQLUtils.scala --- @@ -188,7 +188,7 @@ private[sql] object SQLUtils extends Logging

[GitHub] spark pull request #22685: [SQL][MINOR][Refactor] Refactor on sql/core

2018-10-10 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22685#discussion_r224053894 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/KeyValueGroupedDataset.scala --- @@ -567,10 +567,10 @@ class KeyValueGroupedDataset[K, V] private[sql

[GitHub] spark pull request #22685: [SQL][MINOR][Refactor] Refactor on sql/core

2018-10-10 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22685#discussion_r224054362 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/metric/SQLMetrics.scala --- @@ -95,7 +95,7 @@ object SQLMetrics { def

[GitHub] spark pull request #22685: [SQL][MINOR][Refactor] Refactor on sql/core

2018-10-10 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22685#discussion_r224054521 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/expressions/UserDefinedFunction.scala --- @@ -147,7 +147,7 @@ private[sql] object

[GitHub] spark issue #22685: [SQL][MINOR][Refactor] Refactor on sql/core

2018-10-10 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22685 @HyukjinKwon Sorry. Happened to find that some code is not elegant according to my taste. I have not got the fact that massive changes are not good for backporting. As a result, I spent some time

[GitHub] spark pull request #22685: [SQL][MINOR][Refactor] Refactor on sql/core

2018-10-11 Thread sadhen
Github user sadhen closed the pull request at: https://github.com/apache/spark/pull/22685 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark issue #22685: [SQL][MINOR][Refactor] Refactor on sql/core

2018-10-11 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22685 OK. Nevermind. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h

[GitHub] spark pull request #22264: [SPARK-25256][SQL][TEST] Plan mismatch errors in ...

2018-08-30 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/22264#discussion_r214064282 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/QueryTest.scala --- @@ -290,6 +290,16 @@ object QueryTest { Row.fromSeq(row.toSeq.map

[GitHub] spark issue #22280: [SPARK-25235] [Build] [SHELL] [FOLLOWUP] Fix repl compil...

2018-08-30 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22280 This PR together with #22264 should make the scala-2.12 jenkins job work. https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test/job/spark-master-test-maven-hadoop-2.7-ubuntu-scala

[GitHub] spark issue #22280: [SPARK-25235] [Build] [SHELL] [FOLLOWUP] Fix repl compil...

2018-08-30 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22280 This PR intends to fix the build error by mvn. I have no idea about `scala-2.11/src/main/scala/org/apache/spark/repl/SparkILoopInterpreter.scala` . Maybe we should spare some time

[GitHub] spark issue #22280: [SPARK-25235] [Build] [SHELL] [FOLLOWUP] Fix repl compil...

2018-08-30 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22280 First, `scala-2.12` and `scala-2.11` is the conventions from sbt. `scala-2.11` won't be compiled if we are using 2.12. Actually, only `scala-2.11/src/main/scala` is effective

[GitHub] spark issue #22308: [SPARK-25304][SQL][TEST] Fix HiveSparkSubmitSuite SPARK-...

2018-09-02 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22308 @srowen The 2.12 jar is compiled and packaged from `Main.scala` and `MyCoolClass.scala`. Not a copy of 2.10 jar. Diff it, you will verify it. The steps to generate it: ``` mvn

[GitHub] spark issue #22310: [Spark-25298][Build] Improve build definition for Scala ...

2018-09-02 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22310 @srowen Sorry I should have explained why I made these changes. The follow steps failed to compile: ``` $ ./dev/change-scala-version.sh 2.12 $ ./build/sbt -Dscala-2.12

[GitHub] spark issue #22310: [Spark-25298][Build] Improve build definition for Scala ...

2018-09-02 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22310 The problem of package hierarchy is fixed. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional

[GitHub] spark pull request #23268: [Hive][Minor] Refactor on HiveShim and Add Unit T...

2018-12-09 Thread sadhen
GitHub user sadhen opened a pull request: https://github.com/apache/spark/pull/23268 [Hive][Minor] Refactor on HiveShim and Add Unit Tests ## What changes were proposed in this pull request? Refactor on HiveShim, and add Unit Tests. ## How was this patch tested

[GitHub] spark pull request #23268: [Hive][Minor] Refactor on HiveShim and Add Unit T...

2018-12-09 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/23268#discussion_r240098620 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveShim.scala --- @@ -53,19 +53,12 @@ private[hive] object HiveShim { * This function

[GitHub] spark pull request #23268: [Hive][Minor] Refactor on HiveShim and Add Unit T...

2018-12-09 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/23268#discussion_r240098806 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveShim.scala --- @@ -53,19 +53,12 @@ private[hive] object HiveShim { * This function

[GitHub] spark issue #23268: [Hive][Minor] Refactor on HiveShim and Add Unit Tests

2018-12-09 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/23268 Nevermind, just do not like the coding style personally. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

[GitHub] spark pull request #23268: [Hive][Minor] Refactor on HiveShim and Add Unit T...

2018-12-09 Thread sadhen
Github user sadhen commented on a diff in the pull request: https://github.com/apache/spark/pull/23268#discussion_r240103941 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveShim.scala --- @@ -53,19 +53,12 @@ private[hive] object HiveShim { * This function

[GitHub] spark issue #23268: [Hive][Minor] Refactor on HiveShim and Add Unit Tests

2018-12-09 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/23268 OK, I will modify the PR several hours later. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional

[GitHub] spark issue #23268: [Hive][Minor] Refactor on HiveShim and Add Unit Tests

2018-12-10 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/23268 I've revert the refactor commit. I'm wondering if I need to create a issue for a unit test only PR. --- - To unsubscribe

[GitHub] spark issue #23268: [SPARK-26319][SQL][Test] Add appendReadColumns Unit Test...

2018-12-10 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/23268 @HyukjinKwon Please re-review. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e

[GitHub] spark issue #23268: [SPARK-26319][SQL][Test] Add appendReadColumns Unit Test...

2018-12-10 Thread sadhen
Github user sadhen commented on the issue: https://github.com/apache/spark/pull/23268 @HyukjinKwon I've updated the desc. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e