Sign in
apache
/
hive
/
refs/heads/HiveAggregateReduceFunctionsRule
/
.
/
hplsql
/
src
/
test
/
queries
/
local
/
create_function2.sql
blob: 744ea9ee884b39e08fdbf41023cd195bd95c1a0a [
file
] [
log
] [
blame
]
CREATE
FUNCTION
hello2
(
text STRING
)
RETURNS STRING
BEGIN
PRINT
'Start'
;
RETURN
'Hello, '
||
text
||
'!'
;
PRINT
'Must not be printed'
;
END
;
-- Call the function
PRINT
hello2
(
'wor'
||
'ld'
);
PRINT
'End of script'
;