Changeset: a58157084b19 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a58157084b19
Modified Files:
        sql/test/SQLancer/Tests/sqlancer21.SQL.py
Branch: default
Log Message:

This query is no longer an issue since bitwise functions were removed for 
decimals


diffs (14 lines):

diff --git a/sql/test/SQLancer/Tests/sqlancer21.SQL.py 
b/sql/test/SQLancer/Tests/sqlancer21.SQL.py
--- a/sql/test/SQLancer/Tests/sqlancer21.SQL.py
+++ b/sql/test/SQLancer/Tests/sqlancer21.SQL.py
@@ -20,10 +20,6 @@ with SQLTestCase() as cli:
     COMMIT;""" % (port, db)).assertSucceeded()
 
     # Issues related to scale propagation in the sql layer
-    cli.execute("SELECT CAST(2 AS DECIMAL) & CAST(3 AS DOUBLE) FROM t1 where 
t1.c0 = 1;") \
-        .assertSucceeded().assertDataResultMatch([(Decimal('0.002'),)])
-    cli.execute("SELECT CAST(2 AS DECIMAL) & CAST(3 AS DOUBLE) FROM rt1 where 
rt1.c0 = 1;") \
-        .assertSucceeded().assertDataResultMatch([(Decimal('0.002'),)])
     cli.execute("SELECT scale_down(146.0, 1) FROM t1 where t1.c0 = 1;") \
         .assertSucceeded().assertDataResultMatch([(Decimal('14.6'),)])
     cli.execute("SELECT scale_down(146.0, 1) FROM rt1 where rt1.c0 = 1;") \
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to