Skip to content

Commit 80643d2

Browse files
Greg Leclercqggreg
authored andcommitted
Fix references to TPC-H
1 parent a8c3276 commit 80643d2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
File renamed without changes.

integration_tests/test_dbapi.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ def test_select_query(presto_connection):
4747

4848
def test_select_query_result_iteration(presto_connection):
4949
cur = presto_connection.cursor()
50-
cur.execute('select custkey from tcph.sf1.customer LIMIT 10')
50+
cur.execute('select custkey from tpch.sf1.customer LIMIT 10')
5151
rows0 = cur.genall()
52-
cur.execute('select custkey from tcph.sf1.customer LIMIT 10')
52+
cur.execute('select custkey from tpch.sf1.customer LIMIT 10')
5353
rows1 = cur.fetchall()
5454

5555
assert len(list(rows0)) == len(rows1)
@@ -64,7 +64,7 @@ def test_select_query_no_result(presto_connection):
6464

6565
def test_select_query_stats(presto_connection):
6666
cur = presto_connection.cursor()
67-
cur.execute('SELECT * FROM tcph.sf1.customer')
67+
cur.execute('SELECT * FROM tpch.sf1.customer')
6868

6969
query_id = cur.stats['queryId']
7070
completed_splits = cur.stats['completedSplits']
@@ -99,16 +99,16 @@ def test_select_failed_query(presto_connection):
9999
cur.fetchall()
100100

101101

102-
def test_select_tcph_1000(presto_connection):
102+
def test_select_tpch_1000(presto_connection):
103103
cur = presto_connection.cursor()
104-
cur.execute('SELECT * FROM tcph.sf1.customer LIMIT 1000')
104+
cur.execute('SELECT * FROM tpch.sf1.customer LIMIT 1000')
105105
rows = cur.fetchall()
106106
assert len(rows) == 1000
107107

108108

109109
def test_cancel_query(presto_connection):
110110
cur = presto_connection.cursor()
111-
cur.execute('select * from tcph.sf1.customer')
111+
cur.execute('select * from tpch.sf1.customer')
112112
cur.cancel()
113113

114114
with pytest.raises(prestodb.exceptions.PrestoUserError) as cancel_error:

0 commit comments

Comments
 (0)