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