Can you give the full stack trace? Also which version of Spark are you
running?
On Wed, Feb 1, 2017 at 10:38 AM, Jerry Lam wrote:
> Hi everyone,
>
> Anyone knows how to use withWatermark on Dataset?
>
> I have tried the following but hit this exception:
>
> dataset
Hi everyone,
Anyone knows how to use withWatermark on Dataset?
I have tried the following but hit this exception:
dataset org.apache.spark.sql.catalyst.expressions.GenericRowWithSchema
cannot be cast to "MyType"
The code looks like the following:
dataset
.withWatermark("timestamp", "5