Skip to content

Commit 7df66f9

Browse files
zhengruifengdongjoon-hyun
authored andcommitted
[MINOR][PYTHON][TESTS] Enable test_pivot_exceed_max_values
### What changes were proposed in this pull request? Enable `test_pivot_exceed_max_values` ### Why are the changes needed? it was skipped due to incorrect indent ### Does this PR introduce _any_ user-facing change? no, test-only ### How was this patch tested? CI ### Was this patch authored or co-authored using generative AI tooling? No Closes #52865 from zhengruifeng/enable_pivot_test. Authored-by: Ruifeng Zheng <ruifengz@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent ff45537 commit 7df66f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/pyspark/sql/tests/test_group.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ def test_order_by_ordinal(self):
192192
with self.assertRaises(IndexError):
193193
df.orderBy(-3)
194194

195-
def test_pivot_exceed_max_values(self):
196-
with self.assertRaises(AnalysisException):
197-
spark.range(100001).groupBy(sf.lit(1)).pivot("id").count().show()
195+
def test_pivot_exceed_max_values(self):
196+
with self.assertRaises(AnalysisException):
197+
self.spark.range(100001).groupBy(sf.lit(1)).pivot("id").count().show()
198198

199199

200200
class GroupTests(GroupTestsMixin, ReusedSQLTestCase):

0 commit comments

Comments
 (0)