[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-05-09 Thread bersprockets
Github user bersprockets commented on the issue:

https://github.com/apache/spark/pull/21144
  
@cloud-fan I don't think this is an issue in 2.3. It would be an issue only 
once [SPARK-23580](https://issues.apache.org/jira/browse/SPARK-23580) 
("Interpreted mode fallback should be implemented") is completed.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-05-08 Thread cloud-fan
Github user cloud-fan commented on the issue:

https://github.com/apache/spark/pull/21144
  
shall we backport it to 2.3?


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-05-07 Thread bersprockets
Github user bersprockets commented on the issue:

https://github.com/apache/spark/pull/21144
  
Thanks much!


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-05-07 Thread hvanhovell
Github user hvanhovell commented on the issue:

https://github.com/apache/spark/pull/21144
  
LGTM - merging to master. Thanks!


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-05-07 Thread bersprockets
Github user bersprockets commented on the issue:

https://github.com/apache/spark/pull/21144
  
@hvanhovell @maropu Is there anything on this PR that I should do?


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-05-01 Thread maropu
Github user maropu commented on the issue:

https://github.com/apache/spark/pull/21144
  
@bersprockets I think we assume `Predicate.initialize` is called in not a 
driver side but executor sides, so it's ok as it is (`SimpleTextSource. 
buildReader` and `ExternalCatalogUtils.prunePartitionsByFilter`).

btw, as you know, the issue `UnsupportedOperationExceptions ` should be 
fixed in SPARK-23580.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-05-01 Thread bersprockets
Github user bersprockets commented on the issue:

https://github.com/apache/spark/pull/21144
  
@hvanhovell @maropu As it turns out, there are at least two places where an 
InterpretedPredicate is created but never initialized: 
SimpleTextSource.buildReader, and ExternalCatalogUtils.prunePartitionsByFilter.

It seems unlikely that nondeterministic expressions would be used for 
partitions, but maybe I am not imaginative enough. Also, these seem like bugs 
in those two classes, not in InterpretedPredicate.

Also, I reran the mostly-interpreted SQL unit tests, this time with 
SortPrefix implemented, and got the error count down from 1270 to 114. None of 
the errors were 'requirement failed' exceptions (so no uninitialized 
nondeterministic expressions).


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-25 Thread bersprockets
Github user bersprockets commented on the issue:

https://github.com/apache/spark/pull/21144
  
@hvanhovell I couldn't find another path that had this particular issue, 
except possibly in the aggregation area (where a grouping projection is created 
but not initialized). But I couldn't make it fail there.

Also, I turned off as much of the code generation as I could (through 
patching, etc,) and ran the SQL unit tests. I didn't get any 'requirement 
failed' exceptions. However, I did get 1270 failed tests,
90% of which failed with UnsupportedOperationExceptions (SortPrefix.eval is 
the one I keep seeing). Fixing those issues may allow more 'requirement failed' 
exceptions to pop out.

The original unit test that got me looking at this ("SPARK-10740: handle 
nondeterministic expressions correctly for set operations") is still failing, 
but for a different reason: The rows in the table are processed in a different 
order between interpreted and codegen mode. rand(7) is used as a filter, and 
although the sequence of random numbers is the same, the row to which each 
random number is being compared is different between interpreted and codegen 
mode.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

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


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/21144
  
Merged build finished. Test PASSed.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/21144
  
**[Test build #89807 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/89807/testReport)**
 for PR 21144 at commit 
[`46972f7`](https://github.com/apache/spark/commit/46972f7ce2123d7ebda23daad9362650532ca59e).
 * This patch passes all tests.
 * This patch merges cleanly.
 * This patch adds no public classes.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/21144
  
**[Test build #89807 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/89807/testReport)**
 for PR 21144 at commit 
[`46972f7`](https://github.com/apache/spark/commit/46972f7ce2123d7ebda23daad9362650532ca59e).


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread maropu
Github user maropu commented on the issue:

https://github.com/apache/spark/pull/21144
  
retest this please


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/21144
  
Merged build finished. Test FAILed.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

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


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/21144
  
**[Test build #89805 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/89805/testReport)**
 for PR 21144 at commit 
[`46972f7`](https://github.com/apache/spark/commit/46972f7ce2123d7ebda23daad9362650532ca59e).
 * This patch **fails Spark unit tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/21144
  
**[Test build #89805 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/89805/testReport)**
 for PR 21144 at commit 
[`46972f7`](https://github.com/apache/spark/commit/46972f7ce2123d7ebda23daad9362650532ca59e).


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread bersprockets
Github user bersprockets commented on the issue:

https://github.com/apache/spark/pull/21144
  
retest this please


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread bersprockets
Github user bersprockets commented on the issue:

https://github.com/apache/spark/pull/21144
  
>can you also check if other interpreted code paths have this problem?

@hvanhovell will do.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread hvanhovell
Github user hvanhovell commented on the issue:

https://github.com/apache/spark/pull/21144
  
@bersprockets can you also check if other interpreted code paths have this 
problem?


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

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


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/21144
  
Merged build finished. Test FAILed.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/21144
  
**[Test build #89798 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/89798/testReport)**
 for PR 21144 at commit 
[`46972f7`](https://github.com/apache/spark/commit/46972f7ce2123d7ebda23daad9362650532ca59e).
 * This patch **fails Spark unit tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/21144
  
**[Test build #89798 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/89798/testReport)**
 for PR 21144 at commit 
[`46972f7`](https://github.com/apache/spark/commit/46972f7ce2123d7ebda23daad9362650532ca59e).


---

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



[GitHub] spark issue #21144: [SPARK-24043][SQL] Interpreted Predicate should initiali...

2018-04-24 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/21144
  
Can one of the admins verify this patch?


---

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