Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
[NSE-504] Fix non-decimal window function unit test (#505)
Browse files Browse the repository at this point in the history
Closes #504
  • Loading branch information
zhztheplayer authored Sep 7, 2021
1 parent f07e6fb commit f3e560e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@ class TPCDSSuite extends QueryTest with SharedSparkSession {
}

test("window function with non-decimal input") {
val df = spark.sql("SELECT i_item_sk, i_clalss_id, SUM(i_category_id)" +
val df = spark.sql("SELECT i_item_sk, i_class_id, SUM(i_category_id)" +
" OVER (PARTITION BY i_class_id) FROM item LIMIT 1000")
df.explain()
df.show()

0 comments on commit f3e560e

Please sign in to comment.