hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hui Fei <feihui.u...@gmail.com>
Subject [hpl/sql] HIVE-15849 need your review and give suggestions, thanks
Date Mon, 13 Feb 2017 11:53:17 GMT
hi all
I used to test hplsql, and found problems.
Tests come from http://www.hplsql.org/udf

query is SELECT hello(name) FROM users;

I get the empy string in result , that is not expected.

Starting pre-SQL statement
Starting pre-SQL statement
Starting pre-SQL statement
Starting pre-SQL statement
Starting pre-SQL statement
Starting query
Query executed successfully (2.30 sec)
Ln:8 SELECT completed successfully
Ln:8 Standalone SELECT executed: 1 columns in the result set
Hello, !
Hello, !

After fixing it, i get the right result

Starting pre-SQL statement
Starting pre-SQL statement
Starting pre-SQL statement
Starting pre-SQL statement
Starting pre-SQL statement
Starting query
Query executed successfully (2.35 sec)
Ln:8 SELECT completed successfully
Ln:8 Standalone SELECT executed: 1 columns in the result set
Hello, fei!
Hello, fei!

JIRA link is https://issues.apache.org/jira/browse/HIVE-15849, there
is the detailed
description

could anyone please review it and give suggestions, hplsql experts?  thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message