[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138449666
  
  [Test build #1725 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1725/console)
 for   PR 8597 at commit 
[`ddc0f0d`](https://github.com/apache/spark/commit/ddc0f0d82201ad8498904bc6c17b88a1287f6dbb).
 * This patch **passes all tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138456626
  
Merged build finished. Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138456628
  
Test PASSed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42119/
Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138456494
  
  [Test build #42119 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42119/console)
 for   PR 8597 at commit 
[`7df91d6`](https://github.com/apache/spark/commit/7df91d6585fd3845b357c4b58bfe099a74097c47).
 * This patch **passes all tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138451789
  
Test PASSed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42118/
Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138451786
  
Merged build finished. Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138451412
  
  [Test build #42118 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42118/console)
 for   PR 8597 at commit 
[`a4067b9`](https://github.com/apache/spark/commit/a4067b98fccea2f5ce0b04b7ef107ed8b37218b9).
 * This patch **passes all tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/spark/pull/8597


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread marmbrus
Github user marmbrus commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138700566
  
Thanks, merging to master.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138606799
  
 Merged build triggered.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38934979
  
--- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JacksonParser.scala
 ---
@@ -81,9 +81,27 @@ private[sql] object JacksonParser {
   case (VALUE_NUMBER_INT | VALUE_NUMBER_FLOAT, FloatType) =>
 parser.getFloatValue
 
+  case (VALUE_STRING, FloatType) =>
+// Special case handling for NaN and Infinity.
+val value = parser.getText
+if (value.equals("NaN") || value.equals("Infinity") || 
value.equals("-Infinity")) {
+  value.toFloat
+} else {
+  sys.error(s"Cannot parse $value as FloatType.")
+}
+
   case (VALUE_NUMBER_INT | VALUE_NUMBER_FLOAT, DoubleType) =>
 parser.getDoubleValue
 
+  case (VALUE_STRING, DoubleType) =>
+// Special case handling for NaN and Infinity.
+val value = parser.getText
+if (value.equals("NaN") || value.equals("Infinity") || 
value.equals("-Infinity")) {
--- End diff --

Same as above.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38934997
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/ParquetHadoopFsRelationSuite.scala
 ---
@@ -32,6 +32,13 @@ class ParquetHadoopFsRelationSuite extends 
HadoopFsRelationTest {
 
   override val dataSourceName: String = "parquet"
 
+  // Parquet does not play well with NullType.
+  override protected def supportsDataType(dataType: DataType): Boolean = 
dataType match {
+case a: NullType => false
+case c: CalendarIntervalType => false
--- End diff --

Nit: In this case we can just write `case _: CalendarIntervalType =>`.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38934989
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/JsonHadoopFsRelationSuite.scala
 ---
@@ -28,6 +28,14 @@ import org.apache.spark.sql.types._
 class JsonHadoopFsRelationSuite extends HadoopFsRelationTest {
   override val dataSourceName: String = "json"
 
+  // JSON does not write data of NullType and does not play well with 
BinaryType.
+  override protected def supportsDataType(dataType: DataType): Boolean = 
dataType match {
+case a: NullType => false
+case b: BinaryType => false
--- End diff --

But we do handle `BinaryType` [in `JacksonGenerator`] [1]. Does this mean 
we can save a DataFrame containing `BinaryType` field(s) to JSON files via 
`df.toJSON.saveAsTextFile(...)`, but can't read it back with `JSONRelation`?

[1]: 
https://github.com/apache/spark/pull/8597/files#diff-0f04c36e499d4dcf6931fbd62b3aa012R101


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread yhuai
Github user yhuai commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38941415
  
--- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JacksonParser.scala
 ---
@@ -81,9 +81,27 @@ private[sql] object JacksonParser {
   case (VALUE_NUMBER_INT | VALUE_NUMBER_FLOAT, FloatType) =>
 parser.getFloatValue
 
+  case (VALUE_STRING, FloatType) =>
+// Special case handling for NaN and Infinity.
+val value = parser.getText
+if (value.equals("NaN") || value.equals("Infinity") || 
value.equals("-Infinity")) {
--- End diff --

oh, originally I tried scala and it only recognizes these three forms. Just 
tried Python and it can recognize `nan`. I will make it case insensitive.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138606827
  
Merged build started.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138609207
  
  [Test build #42136 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42136/consoleFull)
 for   PR 8597 at commit 
[`bda8c77`](https://github.com/apache/spark/commit/bda8c779dc24fd1919f87e77b4bb8283c44216ea).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread liancheng
Github user liancheng commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138591417
  
A few minor issues. Otherwise LGTM.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38934988
  
--- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JacksonParser.scala
 ---
@@ -81,9 +81,27 @@ private[sql] object JacksonParser {
   case (VALUE_NUMBER_INT | VALUE_NUMBER_FLOAT, FloatType) =>
 parser.getFloatValue
 
+  case (VALUE_STRING, FloatType) =>
+// Special case handling for NaN and Infinity.
+val value = parser.getText
+if (value.equals("NaN") || value.equals("Infinity") || 
value.equals("-Infinity")) {
--- End diff --

Not sure about this, but should we make these comparisons case insensitive?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread yhuai
Github user yhuai commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38940788
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/hadoopFsRelationSuites.scala
 ---
@@ -98,6 +100,80 @@ abstract class HadoopFsRelationTest extends QueryTest 
with SQLTestUtils with Tes
 }
   }
 
+  test("test all data types") {
+withTempPath { file =>
+  // Create the schema.
+  val struct =
+StructType(
+  StructField("f1", FloatType, true) ::
+StructField("f2", ArrayType(BooleanType), true) :: Nil)
+  // TODO: add CalendarIntervalType to here once we can save it out.
+  val dataTypes =
+Seq(
+  StringType, BinaryType, NullType, BooleanType,
+  ByteType, ShortType, IntegerType, LongType,
+  FloatType, DoubleType, DecimalType(25, 5), DecimalType(6, 5),
+  DateType, TimestampType,
+  ArrayType(IntegerType), MapType(StringType, LongType), struct,
+  new MyDenseVectorUDT())
+  val fields = dataTypes.zipWithIndex.map { case (dataType, index) =>
+StructField(s"col$index", dataType, nullable = true)
+  }
+  val schema = StructType(fields)
+
+  // Generate data at the driver side. We need to materialize the data 
first and then
+  // create RDD.
+  val maybeDataGenerator =
+RandomDataGenerator.forType(
+  dataType = schema,
+  nullable = true,
+  seed = Some(System.nanoTime()))
+  val dataGenerator =
+maybeDataGenerator
+  .getOrElse(fail(s"Failed to create data generator for schema 
$schema"))
+  val data = (1 to 10).map { i =>
+dataGenerator.apply() match {
+  case row: Row => row
+  case _ => Row.fromSeq(Seq.fill(schema.length)(null))
--- End diff --

I set the entire struct type to be nullable at line 129. So, generator will 
return null values at here. We can make it explicit at here.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138647445
  
  [Test build #42136 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42136/console)
 for   PR 8597 at commit 
[`bda8c77`](https://github.com/apache/spark/commit/bda8c779dc24fd1919f87e77b4bb8283c44216ea).
 * This patch **passes all tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138647623
  
Merged build finished. Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138647626
  
Test PASSed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42136/
Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread cloud-fan
Github user cloud-fan commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138437490
  
LGTM


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138435046
  
 Merged build triggered.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138435057
  
Merged build started.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138435152
  
  [Test build #42118 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42118/consoleFull)
 for   PR 8597 at commit 
[`a4067b9`](https://github.com/apache/spark/commit/a4067b98fccea2f5ce0b04b7ef107ed8b37218b9).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138435910
  
  [Test build #42119 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42119/consoleFull)
 for   PR 8597 at commit 
[`7df91d6`](https://github.com/apache/spark/commit/7df91d6585fd3845b357c4b58bfe099a74097c47).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138435444
  
Merged build started.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138435437
  
 Merged build triggered.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread yhuai
Github user yhuai commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38890662
  
--- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/RandomDataGenerator.scala ---
@@ -159,6 +177,27 @@ object RandomDataGenerator {
   None
 }
   }
+  case udt: UserDefinedType[_] => {
+val maybeSqlTypeGenerator = forType(udt.sqlType, nullable, seed)
+// Because random data generator at here returns scala value, we 
need to
+// convert it to catalyst value to call udt's deserialize.
+val toCatalystType = 
CatalystTypeConverters.createToCatalystConverter(udt.sqlType)
+
+if (maybeSqlTypeGenerator.isDefined) {
+  val sqlTypeGenerator = maybeSqlTypeGenerator.get
+  val generator = () => {
+val generatedScalaValue = sqlTypeGenerator.apply()
+if (generatedScalaValue == null) {
+  null
+} else {
+  udt.deserialize(toCatalystType(generatedScalaValue))
+}
+  }
+  Some(generator)
+} else {
+  None
+}
+  }
--- End diff --

@JoshRosen Can you take a look at my change to `RandomDataGenerator`?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread cloud-fan
Github user cloud-fan commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38891183
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/hadoopFsRelationSuites.scala
 ---
@@ -98,6 +100,80 @@ abstract class HadoopFsRelationTest extends QueryTest 
with SQLTestUtils with Tes
 }
   }
 
+  test("test all data types") {
+withTempPath { file =>
+  // Create the schema.
+  val struct =
+StructType(
+  StructField("f1", FloatType, true) ::
+StructField("f2", ArrayType(BooleanType), true) :: Nil)
+  // TODO: add CalendarIntervalType to here once we can save it out.
+  val dataTypes =
+Seq(
+  StringType, BinaryType, NullType, BooleanType,
+  ByteType, ShortType, IntegerType, LongType,
+  FloatType, DoubleType, DecimalType(25, 5), DecimalType(6, 5),
+  DateType, TimestampType,
+  ArrayType(IntegerType), MapType(StringType, LongType), struct,
+  new MyDenseVectorUDT())
+  val fields = dataTypes.zipWithIndex.map { case (dataType, index) =>
+StructField(s"col$index", dataType, nullable = true)
+  }
+  val schema = StructType(fields)
+
+  // Generate data at the driver side. We need to materialize the data 
first and then
+  // create RDD.
+  val maybeDataGenerator =
+RandomDataGenerator.forType(
+  dataType = schema,
+  nullable = true,
+  seed = Some(System.nanoTime()))
+  val dataGenerator =
+maybeDataGenerator
+  .getOrElse(fail(s"Failed to create data generator for schema 
$schema"))
+  val data = (1 to 10).map { i =>
+dataGenerator.apply() match {
+  case row: Row => row
+  case _ => Row.fromSeq(Seq.fill(schema.length)(null))
--- End diff --

Are we handling `null` here? If it is, I think we should make it more 
explicit using `case null`.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-07 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-138434672
  
  [Test build #1725 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1725/consoleFull)
 for   PR 8597 at commit 
[`ddc0f0d`](https://github.com/apache/spark/commit/ddc0f0d82201ad8498904bc6c17b88a1287f6dbb).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38742310
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/SimpleTextRelation.scala 
---
@@ -112,11 +114,14 @@ class SimpleTextRelation(
 val fields = dataSchema.map(_.dataType)
 
 sparkContext.textFile(inputStatuses.map(_.getPath).mkString(",")).map 
{ record =>
-  Row(record.split(",").zip(fields).map { case (value, dataType) =>
+  Row(record.split(",", -1).zip(fields).map { case (v, dataType) =>
+val value = if (v == "") null else v
 // `Cast`ed values are always of Catalyst types (i.e. UTF8String 
instead of String, etc.)
 val catalystValue = Cast(Literal(value), dataType).eval()
 // Here we're converting Catalyst values to Scala values to test 
`needsConversion`
-CatalystTypeConverters.convertToScala(catalystValue, dataType)
+val scalaV = CatalystTypeConverters.convertToScala(catalystValue, 
dataType)
+
+scalaV
--- End diff --

Nit: Remove `scalaV`?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38742485
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/hadoopFsRelationSuites.scala
 ---
@@ -100,6 +104,87 @@ abstract class HadoopFsRelationTest extends QueryTest 
with SQLTestUtils {
 }
   }
 
+  test("test all data types") {
+withTempDir { file =>
+  file.delete()
+
+  // Create the schema.
+  val struct =
+StructType(
+  StructField("f1", FloatType, true) ::
+StructField("f2", ArrayType(BooleanType), true) :: Nil)
+  val dataTypes =
+Seq(
+  StringType, BinaryType, NullType, BooleanType,
+  ByteType, ShortType, IntegerType, LongType,
+  FloatType, DoubleType, DecimalType(25, 5), DecimalType(6, 5),
+  DateType, TimestampType,
+  ArrayType(IntegerType), MapType(StringType, LongType), struct,
+  new MyDenseVectorUDT())
--- End diff --

`CalendarIntervalType` is not covered here. Is it intentional?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38742967
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/hadoopFsRelationSuites.scala
 ---
@@ -100,6 +104,87 @@ abstract class HadoopFsRelationTest extends QueryTest 
with SQLTestUtils {
 }
   }
 
+  test("test all data types") {
+withTempDir { file =>
+  file.delete()
+
+  // Create the schema.
+  val struct =
+StructType(
+  StructField("f1", FloatType, true) ::
+StructField("f2", ArrayType(BooleanType), true) :: Nil)
+  val dataTypes =
+Seq(
+  StringType, BinaryType, NullType, BooleanType,
+  ByteType, ShortType, IntegerType, LongType,
+  FloatType, DoubleType, DecimalType(25, 5), DecimalType(6, 5),
+  DateType, TimestampType,
+  ArrayType(IntegerType), MapType(StringType, LongType), struct,
+  new MyDenseVectorUDT())
+  val fields = dataTypes.zipWithIndex.map { case (dataType, index) =>
+StructField(s"col$index", dataType, true)
+  }
+  val schema = StructType(fields)
+
+  // Create a RDD for the schema
+  val rdd =
+sqlContext.sparkContext.parallelize((1 to 100), 10).flatMap { i =>
+  val row1 = Row(
+s"str${i}: test save.",
+s"binary${i}: test save.".getBytes("UTF-8"),
+null,
+i % 2 == 0,
+i.toByte,
+i.toShort,
+i,
+Long.MaxValue - i.toLong,
+(i + 0.25).toFloat,
+(i + 0.75),
+BigDecimal(Long.MaxValue.toString + ".12345"),
+new java.math.BigDecimal(s"${i % 9 + 1}" + ".23456"),
+new Date(i),
+new Timestamp(i),
+(1 to i).toSeq,
+(0 to i).map(j => s"map_key_$j" -> (Long.MaxValue - j)).toMap,
+Row((i - 0.25).toFloat, Seq(true, false, null)),
+new MyDenseVector(Array(1.1, 2.1, 3.1)))
+  val row2 = Row.fromSeq(Seq.fill(dataTypes.length)(null))
+  row1 :: row2 :: Nil
+}
+  val df = sqlContext.createDataFrame(rdd, schema)
+
+  // All columns that have supported data types of this source.
+  val supportedColumns = schema.fields.filter { field =>
+supportsDataType(field.dataType)
+  }.map { field =>
+field.name
+  }
--- End diff --

Nit: Can be simplified a little bit:

```scala
val supportedColumns = schema.collect {
  case StructField(name, dataType) if supportsDataType(dataType) => name
}
```


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38742692
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/hadoopFsRelationSuites.scala
 ---
@@ -100,6 +104,87 @@ abstract class HadoopFsRelationTest extends QueryTest 
with SQLTestUtils {
 }
   }
 
+  test("test all data types") {
+withTempDir { file =>
+  file.delete()
+
+  // Create the schema.
+  val struct =
+StructType(
+  StructField("f1", FloatType, true) ::
+StructField("f2", ArrayType(BooleanType), true) :: Nil)
+  val dataTypes =
+Seq(
+  StringType, BinaryType, NullType, BooleanType,
+  ByteType, ShortType, IntegerType, LongType,
+  FloatType, DoubleType, DecimalType(25, 5), DecimalType(6, 5),
+  DateType, TimestampType,
+  ArrayType(IntegerType), MapType(StringType, LongType), struct,
+  new MyDenseVectorUDT())
+  val fields = dataTypes.zipWithIndex.map { case (dataType, index) =>
+StructField(s"col$index", dataType, true)
+  }
+  val schema = StructType(fields)
+
+  // Create a RDD for the schema
+  val rdd =
+sqlContext.sparkContext.parallelize((1 to 100), 10).flatMap { i =>
+  val row1 = Row(
+s"str${i}: test save.",
+s"binary${i}: test save.".getBytes("UTF-8"),
+null,
+i % 2 == 0,
+i.toByte,
+i.toShort,
+i,
+Long.MaxValue - i.toLong,
+(i + 0.25).toFloat,
+(i + 0.75),
--- End diff --

Nit: `075D` or add the `toDouble` call to make it explicit.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38742782
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/hadoopFsRelationSuites.scala
 ---
@@ -100,6 +104,87 @@ abstract class HadoopFsRelationTest extends QueryTest 
with SQLTestUtils {
 }
   }
 
+  test("test all data types") {
+withTempDir { file =>
+  file.delete()
+
+  // Create the schema.
+  val struct =
+StructType(
+  StructField("f1", FloatType, true) ::
+StructField("f2", ArrayType(BooleanType), true) :: Nil)
+  val dataTypes =
+Seq(
+  StringType, BinaryType, NullType, BooleanType,
+  ByteType, ShortType, IntegerType, LongType,
+  FloatType, DoubleType, DecimalType(25, 5), DecimalType(6, 5),
+  DateType, TimestampType,
+  ArrayType(IntegerType), MapType(StringType, LongType), struct,
+  new MyDenseVectorUDT())
+  val fields = dataTypes.zipWithIndex.map { case (dataType, index) =>
+StructField(s"col$index", dataType, true)
+  }
+  val schema = StructType(fields)
+
+  // Create a RDD for the schema
+  val rdd =
+sqlContext.sparkContext.parallelize((1 to 100), 10).flatMap { i =>
+  val row1 = Row(
+s"str${i}: test save.",
+s"binary${i}: test save.".getBytes("UTF-8"),
+null,
+i % 2 == 0,
+i.toByte,
+i.toShort,
+i,
+Long.MaxValue - i.toLong,
+(i + 0.25).toFloat,
+(i + 0.75),
+BigDecimal(Long.MaxValue.toString + ".12345"),
+new java.math.BigDecimal(s"${i % 9 + 1}" + ".23456"),
+new Date(i),
+new Timestamp(i),
+(1 to i).toSeq,
+(0 to i).map(j => s"map_key_$j" -> (Long.MaxValue - j)).toMap,
+Row((i - 0.25).toFloat, Seq(true, false, null)),
+new MyDenseVector(Array(1.1, 2.1, 3.1)))
+  val row2 = Row.fromSeq(Seq.fill(dataTypes.length)(null))
+  row1 :: row2 :: Nil
+}
--- End diff --

Seems that `RandomDataGenerator` helps here?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread liancheng
Github user liancheng commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38742367
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/hadoopFsRelationSuites.scala
 ---
@@ -100,6 +104,87 @@ abstract class HadoopFsRelationTest extends QueryTest 
with SQLTestUtils {
 }
   }
 
+  test("test all data types") {
+withTempDir { file =>
+  file.delete()
--- End diff --

You can use `withTempPath` here.  It provides a temporary path without 
creating the directory, so that you don't need the `delete()` call.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread liancheng
Github user liancheng commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137714184
  
Generally looks good except for a few minor issues.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread yhuai
Github user yhuai commented on a diff in the pull request:

https://github.com/apache/spark/pull/8597#discussion_r38769233
  
--- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/hadoopFsRelationSuites.scala
 ---
@@ -100,6 +104,87 @@ abstract class HadoopFsRelationTest extends QueryTest 
with SQLTestUtils {
 }
   }
 
+  test("test all data types") {
+withTempDir { file =>
+  file.delete()
+
+  // Create the schema.
+  val struct =
+StructType(
+  StructField("f1", FloatType, true) ::
+StructField("f2", ArrayType(BooleanType), true) :: Nil)
+  val dataTypes =
+Seq(
+  StringType, BinaryType, NullType, BooleanType,
+  ByteType, ShortType, IntegerType, LongType,
+  FloatType, DoubleType, DecimalType(25, 5), DecimalType(6, 5),
+  DateType, TimestampType,
+  ArrayType(IntegerType), MapType(StringType, LongType), struct,
+  new MyDenseVectorUDT())
--- End diff --

I do not think we can save it to any data source right now.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137847555
  
 Merged build triggered.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137848585
  
  [Test build #42018 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42018/console)
 for   PR 8597 at commit 
[`5436236`](https://github.com/apache/spark/commit/54362366042f07e04c030923d308976c0f49eb42).
 * This patch **fails Scala style tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137848592
  
Test FAILed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42018/
Test FAILed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137848590
  
Merged build finished. Test FAILed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137848079
  
  [Test build #42018 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42018/consoleFull)
 for   PR 8597 at commit 
[`5436236`](https://github.com/apache/spark/commit/54362366042f07e04c030923d308976c0f49eb42).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137849383
  
Test FAILed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42017/
Test FAILed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137846711
  
Merged build started.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137846693
  
 Merged build triggered.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137847582
  
Merged build started.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137849381
  
Merged build finished. Test FAILed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137864618
  
 Merged build triggered.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137868946
  
Test FAILed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42023/
Test FAILed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137868944
  
Merged build finished. Test FAILed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137886913
  
  [Test build #42026 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42026/console)
 for   PR 8597 at commit 
[`ddc0f0d`](https://github.com/apache/spark/commit/ddc0f0d82201ad8498904bc6c17b88a1287f6dbb).
 * This patch **passes all tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137863340
  
  [Test build #1720 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1720/consoleFull)
 for   PR 8597 at commit 
[`5436236`](https://github.com/apache/spark/commit/54362366042f07e04c030923d308976c0f49eb42).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137863614
  
  [Test build #1720 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1720/console)
 for   PR 8597 at commit 
[`5436236`](https://github.com/apache/spark/commit/54362366042f07e04c030923d308976c0f49eb42).
 * This patch **fails Scala style tests**.
 * This patch merges cleanly.
 * This patch adds the following public classes _(experimental)_:
  * `class DCT(JavaTransformer, HasInputCol, HasOutputCol):`
  * `class SQLTransformer(JavaTransformer):`
  * `class StopWordsRemover(JavaTransformer, HasInputCol, HasOutputCol):`
  * `case class LimitNode(limit: Int, child: LocalNode) extends 
UnaryLocalNode `
  * `case class UnionNode(children: Seq[LocalNode]) extends LocalNode `



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137864630
  
Merged build started.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137870739
  
  [Test build #1721 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1721/consoleFull)
 for   PR 8597 at commit 
[`1605010`](https://github.com/apache/spark/commit/1605010e4477365e9b4d45d0f4cf9ab1421cf362).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137871641
  
Merged build started.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137871627
  
 Merged build triggered.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137871961
  
  [Test build #42026 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42026/consoleFull)
 for   PR 8597 at commit 
[`ddc0f0d`](https://github.com/apache/spark/commit/ddc0f0d82201ad8498904bc6c17b88a1287f6dbb).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137886967
  
Test PASSed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42026/
Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137886966
  
Merged build finished. Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-04 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137890392
  
  [Test build #1721 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1721/console)
 for   PR 8597 at commit 
[`1605010`](https://github.com/apache/spark/commit/1605010e4477365e9b4d45d0f4cf9ab1421cf362).
 * This patch **passes all tests**.
 * This patch **does not merge cleanly**.
 * This patch adds no public classes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137636836
  
 Merged build triggered.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137637311
  
  [Test build #41992 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41992/consoleFull)
 for   PR 8597 at commit 
[`bd9898a`](https://github.com/apache/spark/commit/bd9898ad7e4da1050efb6691737164e05f70a14c).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137651761
  
  [Test build #41992 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41992/console)
 for   PR 8597 at commit 
[`bd9898a`](https://github.com/apache/spark/commit/bd9898ad7e4da1050efb6691737164e05f70a14c).
 * This patch **passes all tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137652916
  
Test PASSed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41993/
Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137652915
  
Merged build finished. Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137652072
  
Test PASSed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41992/
Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137652069
  
Merged build finished. Test PASSed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137652844
  
  [Test build #41993 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41993/console)
 for   PR 8597 at commit 
[`57b1e5d`](https://github.com/apache/spark/commit/57b1e5dcdaea6f088e29b8200173360d20a0cad0).
 * This patch **passes all tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137637201
  
 Merged build triggered.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137637207
  
Merged build started.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread SparkQA
Github user SparkQA commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137638101
  
  [Test build #41993 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41993/consoleFull)
 for   PR 8597 at commit 
[`57b1e5d`](https://github.com/apache/spark/commit/57b1e5dcdaea6f088e29b8200173360d20a0cad0).


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request:

https://github.com/apache/spark/pull/8597#issuecomment-137636846
  
Merged build started.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [SPARK-10441][SQL] Save data correctly to json...

2015-09-03 Thread yhuai
GitHub user yhuai opened a pull request:

https://github.com/apache/spark/pull/8597

[SPARK-10441][SQL] Save data correctly to json.

https://issues.apache.org/jira/browse/SPARK-10441

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/yhuai/spark timestampJson

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/spark/pull/8597.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #8597


commit bd9898ad7e4da1050efb6691737164e05f70a14c
Author: Yin Huai 
Date:   2015-09-04T03:08:50Z

Save data correctly to json.




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org