Hi.

I have a query in Spark SQL and I can not covert a value to BIGINT:
CAST(column AS BIGINT) or
CAST(0 AS BIGINT)

The output is:
Exception in thread "main" java.lang.RuntimeException: [34.62] failure:
``DECIMAL'' expected but identifier BIGINT found

Thanks!!
Regards.
Miguel Ángel

Reply via email to