We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d60230 commit 61058b6Copy full SHA for 61058b6
sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
@@ -2607,7 +2607,7 @@ class SQLQuerySuite extends QueryTest with SharedSQLContext {
2607
}
2608
2609
2610
- test("floor(0.0001)") {
+ test("SPARK-20211: should be able to floor or ceil with a decimal when its precision < scale") {
2611
val df = Seq(0).toDF("a")
2612
withTempView("tb") {
2613
df.createOrReplaceTempView("tb")
0 commit comments