Leave off parens in the explain output for NOW and CURRENT_TIMESTAMP functions
Merge branch 'master' into ddlroundtripfix
Skip hsql params left behind by mistake.
Test ENG-6861 param confusion
Make StatementDMQL compile.
forgot to git add
Merge branch 'ddlroundtripfix' into ENG-6861-ignore-ghost-params
Merge branch 'master' into ENG-6861-ignore-ghost-params
Add type resolution to 'IN ?' params, partly so they won't pass for unused ghost params.
Merged changes from ENG-6879-json-set-field: re-enabled the SET_FIELD
function; and simplified tests using the testProcWithValidJSON method in
place of the (almost) same 4 lines of code, repeated over and over.
TestFunctionsForJSON: updated testFIELDFunctionWithInvalidIndexNotation
& testSET_FIELDFunctionWithInvalidIndexNotation, adding tests of very
large array indexes; also, updated testProcWithInvalidJSON to print the
expectedErrorMessage when no error is detected. [I swear I checked this
in before, but it disappeared.]
Add pre-parser support for upsert adhoc
ENG-5540-changed current days value from 0 to 1
ENG-5540 added error message for --days=0 value
TestFunctionsForJSON: added tests of the SET_FIELD (JSON) function:
using various data types; adding new fields (as opposed to updating
existing ones); using ad hoc queries (using “@AdHoc”); called with
array[-1] (meaning just beyond the last value), or with an index larger
than its current size (which also adds an additional value on the end,
filling with nulls if needed); using array index notation on a nameless
array.
And tests of the FIELD function: called with array[-1] (meaning the last
value), or with an index larger than its current size (which returns
null); of its case sensitivity; and additional tests of a nameless
array.
Also tweaked the existing invalid query tests; added (private)
debugPrintJsonDoc method, called at various points, which prints the
specified JSON docs, only if DEBUG is true; and improved a few comments.
TestFunctionsForJSON: added tests of the FIELD (JSON) function using ad
hoc queries (with “@AdHoc”); and tests using the wrong number of
parameters (to Stored Procs).
ENG-5540 reverted test case, made changes to create current day file
TestFunctionsForJSON: added new test method
testSET_FIELDFunctionWithMisplacedDotOrIndexNotation, which tests the
SET_FIELD (JSON) function using “misplaced” arguments like ‘foo.bar’ or
‘foo[0]’, where foo is a previously defined primitive field, or array
(for the ‘.bar’ case), or object (for the ‘[0]’ case).
TestFunctionsForJSON: added new test method
testSET_FIELDFunctionWithNullValues, which tests the SET_FIELD (JSON)
function using null values (quoted and not), and related queries; also a
new version of (private) method testProcWithValidJSON, with the first
arg a String; and related Stored Procs NullSetFieldDocProc,
NullSetFieldProc and SelectSetFieldProc.
Merge branch 'master' into ENG-6948-upsert-preparser