Skip to content

Conversation

@chenghao-intel
Copy link
Contributor

To reproduce that:

JAVA_HOME=/home/hcheng/Java/jdk1.8.0_45 | build/sbt -Phadoop-2.3 -Phive  'test-only org.apache.spark.sql.hive.execution.HiveWindowFunctionQueryWithoutCodeGenSuite'

A simple workaround to fix that is update the original query, for getting the output size instead of the exact elements of the array (output by collect_set())

@chenghao-intel
Copy link
Contributor Author

cc @yhuai

@yhuai
Copy link
Contributor

yhuai commented May 26, 2015

Thanks for investigating this! Instead of just checking the size, can we modify the query to use explode, so we can check the content?

@SparkQA
Copy link

SparkQA commented May 26, 2015

Test build #33493 has finished for PR 6402 at commit 7062da7.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@chenghao-intel
Copy link
Contributor Author

Yes, that's a good suggestion, I've updated the code.

@SparkQA
Copy link

SparkQA commented May 26, 2015

Test build #33502 has finished for PR 6402 at commit edf8ce3.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 26, 2015

Test build #33503 has finished for PR 6402 at commit 99312ad.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@chenghao-intel
Copy link
Contributor Author

@yhuai since it's will not tested under the jdk8 by jenkins, I've manually tested it in my local, and it passed, can you also verify that if you got time?

@yhuai
Copy link
Contributor

yhuai commented Jun 22, 2015

test this please.

@yhuai
Copy link
Contributor

yhuai commented Jun 22, 2015

LGTM pending jenkins.

@SparkQA
Copy link

SparkQA commented Jun 23, 2015

Test build #35494 has finished for PR 6402 at commit 99312ad.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Jun 23, 2015
… unit test under jdk8

To reproduce that:
```
JAVA_HOME=/home/hcheng/Java/jdk1.8.0_45 | build/sbt -Phadoop-2.3 -Phive  'test-only org.apache.spark.sql.hive.execution.HiveWindowFunctionQueryWithoutCodeGenSuite'
```

A simple workaround to fix that is update the original query, for getting the output size instead of the exact elements of the array (output by collect_set())

Author: Cheng Hao <[email protected]>

Closes #6402 from chenghao-intel/windowing and squashes the following commits:

99312ad [Cheng Hao] add order by for the select clause
edf8ce3 [Cheng Hao] update the code as suggested
7062da7 [Cheng Hao] fix the collect_set() behaviour differences under different versions of JDK

(cherry picked from commit 13321e6)
Signed-off-by: Yin Huai <[email protected]>
@yhuai
Copy link
Contributor

yhuai commented Jun 23, 2015

Thanks. I have merged it to master and branch 1.4.

@asfgit asfgit closed this in 13321e6 Jun 23, 2015
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 25, 2015
… unit test under jdk8

To reproduce that:
```
JAVA_HOME=/home/hcheng/Java/jdk1.8.0_45 | build/sbt -Phadoop-2.3 -Phive  'test-only org.apache.spark.sql.hive.execution.HiveWindowFunctionQueryWithoutCodeGenSuite'
```

A simple workaround to fix that is update the original query, for getting the output size instead of the exact elements of the array (output by collect_set())

Author: Cheng Hao <[email protected]>

Closes apache#6402 from chenghao-intel/windowing and squashes the following commits:

99312ad [Cheng Hao] add order by for the select clause
edf8ce3 [Cheng Hao] update the code as suggested
7062da7 [Cheng Hao] fix the collect_set() behaviour differences under different versions of JDK

(cherry picked from commit 13321e6)
Signed-off-by: Yin Huai <[email protected]>
animeshbaranawal pushed a commit to animeshbaranawal/spark that referenced this pull request Jun 25, 2015
… unit test under jdk8

To reproduce that:
```
JAVA_HOME=/home/hcheng/Java/jdk1.8.0_45 | build/sbt -Phadoop-2.3 -Phive  'test-only org.apache.spark.sql.hive.execution.HiveWindowFunctionQueryWithoutCodeGenSuite'
```

A simple workaround to fix that is update the original query, for getting the output size instead of the exact elements of the array (output by collect_set())

Author: Cheng Hao <[email protected]>

Closes apache#6402 from chenghao-intel/windowing and squashes the following commits:

99312ad [Cheng Hao] add order by for the select clause
edf8ce3 [Cheng Hao] update the code as suggested
7062da7 [Cheng Hao] fix the collect_set() behaviour differences under different versions of JDK
@chenghao-intel chenghao-intel deleted the windowing branch July 2, 2015 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants