You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2025/01/09 05:17:00 UTC
[jira] [Assigned] (SPARK-50561) uniform() causes internal error with floating point seed
[ https://issues.apache.org/jira/browse/SPARK-50561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan reassigned SPARK-50561:
-----------------------------------
Assignee: Daniel
> uniform() causes internal error with floating point seed
> --------------------------------------------------------
>
> Key: SPARK-50561
> URL: https://issues.apache.org/jira/browse/SPARK-50561
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: Serge Rielau
> Assignee: Daniel
> Priority: Major
> Labels: pull-request-available
>
> SELECT uniform(10::float, -10::double, 1.0::float) FROM VALUES(1), (2), (3), (4), (5), (6), (7);
> [[INTERNAL_ERROR|https://docs.databricks.com/error-messages/error-classes.html#internal_error]] The Spark SQL phase analysis failed with an internal error. You hit a bug in Spark or the Spark plugins you use. Please, report this bug to the corresponding communities or vendors, and provide the full stack trace. SQLSTATE: XX000
> Presumable were missing a check to disallow float?
> generally it is a question whether we should be more aggressive in casting.
> E.g. we do support substr('hello', 1.0, 1.0).
> thsi applies to allowing DECIMAL arguments for the range as well as simply casting the seed to an integral number.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org