We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae624bc commit c66a5c4Copy full SHA for c66a5c4
singlestoredb/tests/test_basics.py
@@ -987,6 +987,11 @@ def test_double_string(self):
987
self.cur.execute(f"SELECT 1.2 :> DOUBLE, '{string}'")
988
self.assertEqual((1.2, string), self.cur.fetchone())
989
990
+ def test_year_string(self):
991
+ string = 'a' * 49
992
+ self.cur.execute(f"SELECT 1999 :> YEAR, '{string}'")
993
+ self.assertEqual((1999, string), self.cur.fetchone())
994
+
995
996
if __name__ == '__main__':
997
import nose2
0 commit comments