Github user yongtang commented on a diff in the pull request:
https://github.com/apache/spark/pull/11857#discussion_r56925631
--- Diff:
sql/core/src/test/java/test/org/apache/spark/sql/JavaDataFrameSuite.java ---
@@ -328,7 +328,7 @@ public void testTextLoad() {
@Test
public void testCountMinSketch() {
- Dataset df = context.range(1000);
+ Dataset<Object> df = context.range(1000);
--- End diff --
Hi @rxin If `Dataset<Long>` is used then it seems it will have an issue
with the compiler:
```
[error] ...spark/sql/JavaDataFrameSuite.java:331: error: incompatible types:
Dataset<Object> cannot be converted to Dataset<Long>
[error] Dataset<Long> df = context.range(1000);
```
I will use `Dataset<?>` for 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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]