Changeset: ec7c068d5576 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ec7c068d5576
Modified Files:
sql/test/testdb/Tests/dump.SQL.py
Branch: pp_hashjoin
Log Message:
Backed out changeset 76fd17a932bc (dump output is sorted properly in the dump
implementation since changeset 2ee878487f3d, so do not "manually" sort the test
output)
diffs (20 lines):
diff --git a/sql/test/testdb/Tests/dump.SQL.py
b/sql/test/testdb/Tests/dump.SQL.py
--- a/sql/test/testdb/Tests/dump.SQL.py
+++ b/sql/test/testdb/Tests/dump.SQL.py
@@ -27,16 +27,6 @@ if len(sys.argv) == 2 and sys.argv[1] in
if res is not None:
points = ptsre.sub(r'(\g<0>)', res.group('points'))
output[i] = line[:res.start('points')] + points +
line[res.end('points'):]
- else:
- # this is independent of geos, but use the same loop to sort the
list of AS PARTITION IN
- txt = 'AS PARTITION IN ('
- idx = line.find(txt)
- if idx >= 0:
- strt = idx + len(txt)
- end = line.find(')', strt)
- vals = ', '.join(sorted(line[strt:end].split(', ')))
- output[i] = line[:strt] + vals + line[end:]
-
stableout = '{}.stable.out'.format(sys.argv[1])
with open(stableout, encoding='utf-8') as fil:
stable = fil.readlines()
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]