GitHub user selvaganesang opened a pull request:
https://github.com/apache/trafodion/pull/1504
[TRAFODION-3009] Streamline error handling in Executor utility commands
ComDiagsArea is now allocated only when there are warnings or error in
all the utility commands except load. In case of load, the ComDiagsArea
is allocated in advance to report error rows count.
This requires all the executor utility commands to use a new version of
ExRaiseSqlError to populate diagnostics area.
[TRAFODION-3017] Simplify the hive client access in Trafodion
Hive Client functions are now moved to a new file HiveClient_JNI.h and
HiveClient_JNI.cpp. Most of the HiveClient functions are static functions
allowing to use HiveClient in Trafodion with ease.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/selvaganesang/trafodion trafodion-3009_1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1504.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1504
----
commit 1f44166c843fd1a6e8b325a2fcbe0cf8158e099b
Author: selvaganesang <selva.govindarajan@...>
Date: 2018-03-29T00:13:15Z
[TRAFODION-3009] Streamline error handling in Executor utility commands
ComDiagsArea is now allocated only when there are warnings or error in
all the utility commands except load. In case of load, the ComDiagsArea
is allocated in advance to report error rows count.
This requires all the executor utility commands to use a new version of
ExRaiseSqlError to populate diagnostics area.
[TRAFODION-3017] Simplify the hive client access in Trafodion
Hive Client functions are now moved to a new file HiveClient_JNI.h and
HiveClient_JNI.cpp. Most of the HiveClient functions are static functions
allowing to use HiveClient in Trafodion with ease.
----
---