wrong_num_function_args::[ to_string::[ { name:"to_string wrong number of arguments{sql:\"to_string()\"}", statement:"to_string()", assert: { result: StaticAnalysisFail }, }, { name:"to_string wrong number of arguments{sql:\"to_string(`2017T`)\"}", statement:"to_string(`2017T`)", assert: { result: StaticAnalysisFail }, }, { name:"to_string wrong number of arguments{sql:\"to_string(`2017T`, 'y', 1)\"}", statement:"to_string(`2017T`, 'y', 1)", assert: { result: StaticAnalysisFail }, }, { name:"to_string wrong number of arguments{sql:\"to_string(`2017T`, 'y', 'y')\"}", statement:"to_string(`2017T`, 'y', 'y')", assert: { result: StaticAnalysisFail }, } ] ] invalid_function_args::[ to_string::[ { name:"to_string wrong types{timestamp:\"`1986`\",pattern:\"'y'\"}", statement:"to_string(`1986`, 'y')", assert: { result: StaticAnalysisFail }, }, { name:"to_string wrong types{timestamp:\"'some string'\",pattern:\"'y'\"}", statement:"to_string('some string', 'y')", assert: { result: StaticAnalysisFail }, }, { name:"to_string wrong types{timestamp:\"1\",pattern:\"'y'\"}", statement:"to_string(1, 'y')", assert: { result: StaticAnalysisFail }, }, { name:"to_string wrong types{timestamp:\"`2017T`\",pattern:\"1\"}", statement:"to_string(`2017T`, 1)", assert: { result: StaticAnalysisFail }, }, ], ]