Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 4f77c64

Browse files
committed
Fixed unit test
1 parent 5092994 commit 4f77c64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def test_select_with_optimizer_hints(self):
207207
self.assertEqual(q, "SELECT /*+ PARALLEL(a 16) */ b FROM (SELECT * FROM a LIMIT 10) tmp1")
208208

209209
q = c.compile(t.select(this.a).group_by(this.b).agg(this.c).select(optimizer_hints='PARALLEL(a 16)'))
210-
self.assertEqual(q, "SELECT /*+ PARALLEL(a 16) */ * FROM (SELECT b, c FROM (SELECT a FROM point) tmp1 GROUP BY 1) tmp2")
210+
self.assertEqual(q, "SELECT /*+ PARALLEL(a 16) */ * FROM (SELECT b, c FROM (SELECT a FROM a) tmp2 GROUP BY 1) tmp3")
211211

212212
def test_table_ops(self):
213213
c = Compiler(MockDatabase())

0 commit comments

Comments
 (0)