You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by jinxing64 <gi...@git.apache.org> on 2017/06/16 11:05:44 UTC
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
GitHub user jinxing64 opened a pull request:
https://github.com/apache/spark/pull/18327
[SPARK-21047] Add test suites for complicated cases in ColumnarBatchSuite
## What changes were proposed in this pull request?
Current ColumnarBatchSuite has very simple test cases for `Array` and `Struct`. This pr wants to add some test suites for complicated cases in ColumnVector.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jinxing64/spark SPARK-21047
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18327.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 #18327
----
commit 5668978a391bbe93ed1e9747623f243aeb37d478
Author: jinxing <ji...@126.com>
Date: 2017-06-16T10:56:08Z
[SPARK-21047] Add test suites for complicated cases in ColumnarBatchSuite.
----
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78456 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78456/testReport)** for PR 18327 at commit [`47be362`](https://github.com/apache/spark/commit/47be362c82cbae730a7efd7336afe17bf05cbd41).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on the issue:
https://github.com/apache/spark/pull/18327
Thanks, let me take a look tonight.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78514 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78514/testReport)** for PR 18327 at commit [`ed210fb`](https://github.com/apache/spark/commit/ed210fb897db8de8fdbaff6f21ad8c43a08e0e58).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/18327
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by jinxing64 <gi...@git.apache.org>.
Github user jinxing64 commented on the issue:
https://github.com/apache/spark/pull/18327
@kiszk
Thank you so much !
I will read your comments carefully and refine this pr : )
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78381 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78381/testReport)** for PR 18327 at commit [`36dff00`](https://github.com/apache/spark/commit/36dff00820e3bdedfc7ce7523ee13256b4679420).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78514 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78514/testReport)** for PR 18327 at commit [`ed210fb`](https://github.com/apache/spark/commit/ed210fb897db8de8fdbaff6f21ad8c43a08e0e58).
* 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on the issue:
https://github.com/apache/spark/pull/18327
LGTM
@cloud-fan could you please review this?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78423/
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/18327
LGTM pending jenkins
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by jinxing64 <gi...@git.apache.org>.
Github user jinxing64 commented on the issue:
https://github.com/apache/spark/pull/18327
@cloud-fan
Thanks for merging :)
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/18327
LGTM except one comment
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123681974
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,157 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array(not containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ assert(column.isNullAt(3))
+ }
+ }
+
+ test("Nest Array(containing null) in Array.") {
--- End diff --
Ah, you are right since now we are testing correct cases.
Is it better to add a test suite to put `null` into an array for the case `ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true))`?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [WIP][SPARK-21047] Add test suites for complicated cases...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by jinxing64 <gi...@git.apache.org>.
Github user jinxing64 commented on the issue:
https://github.com/apache/spark/pull/18327
@kiszk
I tried to add a test `Nest Array(containing null) in Array.`. Please take a look when you have time and I will continue working on this :)
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78416 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78416/testReport)** for PR 18327 at commit [`78102f3`](https://github.com/apache/spark/commit/78102f37c884b765596a7308563239acf45ed9b0).
* This patch **fails Spark unit 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [WIP][SPARK-21047] Add test suites for complicated cases...
Posted by jinxing64 <gi...@git.apache.org>.
Github user jinxing64 commented on the issue:
https://github.com/apache/spark/pull/18327
@kiszk
Would you mind if I make a try for this JIRA?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by jinxing64 <gi...@git.apache.org>.
Github user jinxing64 commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123473623
--- Diff: sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/ColumnarBatch.java ---
@@ -241,7 +241,40 @@ public MapData getMap(int ordinal) {
@Override
public Object get(int ordinal, DataType dataType) {
- throw new UnsupportedOperationException();
+ if (dataType instanceof BooleanType) {
--- End diff --
Thanks for review :)
Could you be specific how to do that in this java code ?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [WIP][SPARK-21047] Add test suites for complicated cases...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78178/
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r122936767
--- Diff: sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/ColumnarBatch.java ---
@@ -241,7 +241,28 @@ public MapData getMap(int ordinal) {
@Override
public Object get(int ordinal, DataType dataType) {
- throw new UnsupportedOperationException();
+ if (dataType instanceof BooleanType) {
+ return getBoolean(ordinal);
+ } else if (dataType instanceof IntegerType) {
+ return getInt(ordinal);
+ } else if (dataType instanceof ShortType) {
+ return getShort(ordinal);
+ } else if (dataType instanceof LongType) {
+ return getLong(ordinal);
+ } else if (dataType instanceof FloatType) {
+ return getFloat(ordinal);
+ } else if (dataType instanceof DoubleType) {
+ return getDouble(ordinal);
+ } else if (dataType instanceof DecimalType) {
+ DecimalType t = (DecimalType) dataType;
+ return getDecimal(ordinal, t.precision(), t.scale());
+ } else if (dataType instanceof ArrayType) {
+ return getArray(ordinal);
+ } else if (dataType instanceof StructType) {
+ return getStruct(ordinal, ((StructType)dataType).fields().length);
+ } else {
--- End diff --
We need to support other data types (e.g. `ByteType`, `StringType`, `BinaryType`, DateType`, TimestampType`, and `MapType`). It would be good to see `copy()` method.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on the issue:
https://github.com/apache/spark/pull/18327
LGTM except three comments.
@cloud-fan could you please look at this? I believe that these test suites would help make implementations of the API stable.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78423 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78423/testReport)** for PR 18327 at commit [`9319a2f`](https://github.com/apache/spark/commit/9319a2f73cca767b7ec3e4abb1d213bbe535d122).
* 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78380 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78380/testReport)** for PR 18327 at commit [`66b4eff`](https://github.com/apache/spark/commit/66b4eff5f9bc79ee50b3d8d22f910bb6cae9c15f).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78381/
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by jinxing64 <gi...@git.apache.org>.
Github user jinxing64 commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123258919
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,123 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array in Array.") {
--- End diff --
Sorry, I'm not pretty sure about this. Could you please give more details ?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123666503
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,157 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array(not containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ assert(column.isNullAt(3))
+ }
+ }
+
+ test("Nest Array(containing null) in Array.") {
--- End diff --
One is for `new ArrayType(new ArrayType(IntegerType, true), true)`. The other is for `new ArrayType(new ArrayType(IntegerType, false), true)`.
What do you think?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78380/
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78380 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78380/testReport)** for PR 18327 at commit [`66b4eff`](https://github.com/apache/spark/commit/66b4eff5f9bc79ee50b3d8d22f910bb6cae9c15f).
* 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78514/
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78456/
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123495879
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,157 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array(not containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ assert(column.isNullAt(3))
+ }
+ }
+
+ test("Nest Array(containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, true), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach {
+ case 3 => data.putNull(3)
+ case i => data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [null, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [null, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1)isNullAt(0))
--- End diff --
Should it be `getArray(1).isNullAt(0)`?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [WIP][SPARK-21047] Add test suites for complicated cases...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78178 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78178/testReport)** for PR 18327 at commit [`5668978`](https://github.com/apache/spark/commit/5668978a391bbe93ed1e9747623f243aeb37d478).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/spark/pull/18327
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123700448
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,157 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array(not containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ assert(column.isNullAt(3))
+ }
+ }
+
+ test("Nest Array(containing null) in Array.") {
--- End diff --
Yeah, I agree. That's why I asked to prepare two cases.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/78416/
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by heary-cao <gi...@git.apache.org>.
Github user heary-cao commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123461650
--- Diff: sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/ColumnarBatch.java ---
@@ -241,7 +241,40 @@ public MapData getMap(int ordinal) {
@Override
public Object get(int ordinal, DataType dataType) {
- throw new UnsupportedOperationException();
+ if (dataType instanceof BooleanType) {
--- End diff --
Suggest to use ‘match’ style.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by jinxing64 <gi...@git.apache.org>.
Github user jinxing64 commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123499668
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,157 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array(not containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ assert(column.isNullAt(3))
+ }
+ }
+
+ test("Nest Array(containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, true), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach {
+ case 3 => data.putNull(3)
+ case i => data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [null, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [null, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1)isNullAt(0))
--- End diff --
For sure.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78416 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78416/testReport)** for PR 18327 at commit [`78102f3`](https://github.com/apache/spark/commit/78102f37c884b765596a7308563239acf45ed9b0).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123303980
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,123 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array in Array.") {
--- End diff --
Sure. My previous comment was a little bit wrong.
What I want to say is the following. It would be good to prepare the following two cases for array test.
In the case of `new ArrayType(new ArrayType(IntegerType, false), true)`, all of the elements in each leaf array must not have `null` (i.e. this test case).
In the case of `new ArrayType(new ArrayType(IntegerType, true), true)`, any element in each leaf array may have `null` (e.g. `[[0]], [[1, 2], []], [[], [3, null, 5]]`).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78456 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78456/testReport)** for PR 18327 at commit [`47be362`](https://github.com/apache/spark/commit/47be362c82cbae730a7efd7336afe17bf05cbd41).
* 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123664631
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,157 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array(not containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ assert(column.isNullAt(3))
+ }
+ }
+
+ test("Nest Array(containing null) in Array.") {
--- End diff --
why we have 2 tests for `containing null` and `not containing 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [WIP][SPARK-21047] Add test suites for complicated cases...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78178 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78178/testReport)** for PR 18327 at commit [`5668978`](https://github.com/apache/spark/commit/5668978a391bbe93ed1e9747623f243aeb37d478).
* 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123676101
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,157 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array(not containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ assert(column.isNullAt(3))
+ }
+ }
+
+ test("Nest Array(containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, true), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach {
+ case 3 => data.putNull(3)
+ case i => data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [null, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [null, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).isNullAt(0))
+ assert(Array(column.getArray(2).getArray(1).getInt(1),
+ column.getArray(2).getArray(1).getInt(2)) === Array(4, 5))
--- End diff --
nit: we can split this into 2 asserts
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r122936927
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,123 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array in Array.") {
--- End diff --
Can we prepare a test for primitive type array (e.g. `new ArrayType(new ArrayType(IntegerType, false), true)`?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by jinxing64 <gi...@git.apache.org>.
Github user jinxing64 commented on the issue:
https://github.com/apache/spark/pull/18327
@cloud-fan
Thanks a lot for taking time review this :)
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18327
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by kiszk <gi...@git.apache.org>.
Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r122937226
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,123 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, true), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]]
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ }
+ }
+
+ test("Nest Struct in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val schema = new StructType().add("int", IntegerType).add("long", LongType)
+ val column = ColumnVector.allocate(10, new ArrayType(schema, true), memMode)
+ val data = column.arrayData()
+ val c0 = data.getChildColumn(0)
+ val c1 = data.getChildColumn(1)
+ // Structs in child column: (0, 0), (1, 10), (2, 20), (3, 30), (4, 40), (5, 50)
+ (0 until 6).foreach { i =>
+ c0.putInt(i, i)
+ c1.putLong(i, i * 10)
+ }
+ // Arrays in column: [(0, 0), (1, 10)], [(1, 10), (2, 20), (3, 30)],
+ // [(4, 40), (5, 50)]
+ column.putArray(0, 0, 2)
+ column.putArray(1, 1, 3)
+ column.putArray(2, 4, 2)
+
+ assert(column.getArray(0).getStruct(0, 2).toSeq(schema) === Seq(0, 0))
+ assert(column.getArray(0).getStruct(1, 2).toSeq(schema) === Seq(1, 10))
+ assert(column.getArray(1).getStruct(0, 2).toSeq(schema) === Seq(1, 10))
+ assert(column.getArray(1).getStruct(1, 2).toSeq(schema) === Seq(2, 20))
+ assert(column.getArray(1).getStruct(2, 2).toSeq(schema) === Seq(3, 30))
+ assert(column.getArray(2).getStruct(0, 2).toSeq(schema) === Seq(4, 40))
+ assert(column.getArray(2).getStruct(1, 2).toSeq(schema) === Seq(5, 50))
+ }
+ }
+
+ test("Nest Array in Struct.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val schema = new StructType()
+ .add("int", IntegerType)
+ .add("array", new ArrayType(IntegerType, true))
+ val column = ColumnVector.allocate(10, schema, memMode)
+ val c0 = column.getChildColumn(0)
+ val c1 = column.getChildColumn(1)
+ c0.putInt(0, 0)
+ c0.putInt(1, 1)
+ c0.putInt(2, 2)
+ val c1Child = c1.arrayData()
+ (0 until 6).foreach { i =>
+ c1Child.putInt(i, i)
+ }
+ // Arrays in c1: [0, 1], [2], [3, 4, 5]
+ c1.putArray(0, 0, 2)
+ c1.putArray(1, 2, 1)
+ c1.putArray(2, 3, 3)
+
+ assert(column.getStruct(0).getInt(0) === 0)
+ assert(column.getStruct(0).getArray(1).toIntArray === Array(0, 1))
--- End diff --
nit: `toIntArray()`? since other places use `toIntArray()`.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123676211
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,157 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array(not containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ assert(column.isNullAt(3))
+ }
+ }
+
+ test("Nest Array(containing null) in Array.") {
--- End diff --
I think the `containing null` case covers the `not containing null` case?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78423 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78423/testReport)** for PR 18327 at commit [`9319a2f`](https://github.com/apache/spark/commit/9319a2f73cca767b7ec3e4abb1d213bbe535d122).
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18327: [SPARK-21047] Add test suites for complicated cases in C...
Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:
https://github.com/apache/spark/pull/18327
**[Test build #78381 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/78381/testReport)** for PR 18327 at commit [`36dff00`](https://github.com/apache/spark/commit/36dff00820e3bdedfc7ce7523ee13256b4679420).
* 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18327: [SPARK-21047] Add test suites for complicated cas...
Posted by jinxing64 <gi...@git.apache.org>.
Github user jinxing64 commented on a diff in the pull request:
https://github.com/apache/spark/pull/18327#discussion_r123690164
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/vectorized/ColumnarBatchSuite.scala ---
@@ -739,6 +739,157 @@ class ColumnarBatchSuite extends SparkFunSuite {
}}
}
+ test("Nest Array(not containing null) in Array.") {
+ (MemoryMode.ON_HEAP :: MemoryMode.OFF_HEAP :: Nil).foreach { memMode =>
+ val column = ColumnVector.allocate(10, new ArrayType(new ArrayType(IntegerType, false), true),
+ memMode)
+ val childColumn = column.arrayData()
+ val data = column.arrayData().arrayData()
+ (0 until 6).foreach { i =>
+ data.putInt(i, i)
+ }
+ // Arrays in child column: [0], [1, 2], [], [3, 4, 5]
+ childColumn.putArray(0, 0, 1)
+ childColumn.putArray(1, 1, 2)
+ childColumn.putArray(2, 2, 0)
+ childColumn.putArray(3, 3, 3)
+ // Arrays in column: [[0]], [[1, 2], []], [[], [3, 4, 5]], null
+ column.putArray(0, 0, 1)
+ column.putArray(1, 1, 2)
+ column.putArray(2, 2, 2)
+ column.putNull(3)
+
+ assert(column.getArray(0).getArray(0).toIntArray() === Array(0))
+ assert(column.getArray(1).getArray(0).toIntArray() === Array(1, 2))
+ assert(column.getArray(1).getArray(1).toIntArray() === Array())
+ assert(column.getArray(2).getArray(0).toIntArray() === Array())
+ assert(column.getArray(2).getArray(1).toIntArray() === Array(3, 4, 5))
+ assert(column.isNullAt(3))
+ }
+ }
+
+ test("Nest Array(containing null) in Array.") {
--- End diff --
@kiszk
It seems that there is no check for putting `null` into a `ArrayType(IntegerType, false)`.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org