commit 8145ba58927d0d954b68183031747a77367e000f Author: Justin Du <email@example.com> Date: Tue Jun 10 10:12:59 2014 -0800
Associate global empty input LogProp with CmpContext
1. Changed GLOBAL_EMPTY_INPUT_LOGPROP as alias (via #define) instead of thread pointer to access the default input LogProp from curent CmpContext. 2. Restored recursion counter for embedded compiler so that histogram access is done by external compiler
Bulk Load code drop (feature disabled) Main reason for this delivery is to test on the cluster These changes are for the trafodion bulk load which is currently disabled. The changes include: *using utilities infrastrucrure for the bulk load: Previously the bulk Load (prototype) used blocked union to sequence the 2 main steps: hfiles preparation and hfiles loading. But because of some limitations Bulk Load is now implemented with multiple steps using Utilities infrastructures: some of the steps are: **Detect whether table is empty or not **Truncate table if requested by user **Generate the HFiles **Load/merge the Hfiles *new syntax **Load [with option,option,….] into table select .. from table **Options can be: ***Truncate: ***No rollback : no rollback is not supported yet for non empty tables ***Log errors : not implemented yet *Changes to load query plan in the optimizer: **Use of range repartitioning if the table is salted **Use of Non random repartitioning of table is not salted . the primary key is used to as the partitioning key now *“Quasi-secure” bulk load using coprocessors: Implementation of the hidden directory mechanism similar to what the secure version of hbase implements ( referred to as “quasi-secure” here ). This mechanism is used when the users under which hbase and trafodion run are different. It is implemented using a coprocessor which is not added to hbase settings yet (disable for now).