You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2022. It is now read-only.
r.epochTime(253430000000).year() returns error instead of 10000
r.epochTime(-17990000000).year() expected Error in time logic: Year is out of valid range: 1400..10000. got Error in time logic: Year is out of valid range: 1400..9999.
times/time_arith.yaml:
r.do(r.epochTime(1.375147296681e+09), r.js("(function(data){return data})")).toEpochTime() returns error instead of 1375147296.681
r.do(r.js('new Date(\'2012-08-01\')')).toISO8601() returns error instead of 2012-08-01T00:00:00+00:00
r.do(r.js('(function(x){doc = new Object(); doc.date = new Date(\'2012-08-01\'); return doc;})'))('date').toISO8601() returns error instead of 2012-08-01T00:00:00+00:00
Golang driver uses converted yaml tests to check integration with server. So I encountered test failures with rethinkdb build from this repo. With old rethinkdb-legacy it passes.
Rethinkdb built from next branch fails on https://github.com/rethinkdb/rethinkdb/blob/next/test/rql_test/src/control.yaml tests:
r.js('function() { return 1; }')
expectedSyntaxError: Unexpected token (
gotSyntaxError: function name required (line 1)
r.do(1, 2, r.js('(function(a, b, c) { return c; })'))
expectedCannot convert javascript
undefinedto ql::datum_t.
got""
r.expr([1, 2, 3]).filter(r.js('(function(a) {})'))
expectedCannot convert javascript
undefinedto ql::datum_t.
got'"
The text was updated successfully, but these errors were encountered: