Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The following query will fail the parser because the function body stays in the same line of the wrapping parens. The parser thinks the wrapping parens are part of the declared UDF body.
drop database test if exists; create database test; use test; create function printName() { 'AsterixDB Shared nothing parallel BDMS' }
This alternative works:
drop database test if exists; create database test; use test; create function printName() { 'AsterixDB Shared nothing parallel BDMS' }