Clone Tools
Constraints: committers
Constraints: files
Constraints: dates
[TRAFODION-2775] Insert does not raise duplicate row error for hbase format table with defaulted first column

There was a problem with column being checked during CheckAndPut call for such tables. We were always checking the first column in the row, which may not have existed in the previous version of this rowid. Please see JIRA for a complete explanation.

  1. … 9 more files in changeset.
[TRAFODION-2754] Get statistics cores sqlci or mxosrvr at str_sprintf()

Switched str_sprinf to use the standard sprintf function to ensure

that the format specification and the passed in parameters are consistent

  1. … 65 more files in changeset.
[TRAFODION-2438] Unnecessary and sometimes wrong delete during upsert/merge with IM

This change is done by Hans. Design by Selva.

Please see JIRA for an explanation.

  1. … 15 more files in changeset.
TRAFODION-1586 Add support for external Traf tables mappedd to HBase tables

This is the initial support for HBase mapped tables.

A doc for external manuals will be added later.

regress/seabase/TEST022 contains various testcases.

  1. … 77 more files in changeset.

  1. … 298 more files in changeset.
Merge remote branch 'origin/master' into lob_gc_work



  1. … 11 more files in changeset.
Merge remote branch 'origin/master' into lob_gc_work

  1. … 13 more files in changeset.
[TRAFODION-1700] Upsert with omitted default value columns leave the aligned format table in corrupted state. [TRAFODION-1847] Upsert with omitted timestamp columns having current_timestamp as default in a non-aligned format table returns wrong value for this column

For TRAFODION-1847, the upsert is transformed into merge.

For TRAFODION-1700, the upsert is transformed into merge when the CQD


set to OFF. When this CQD is ON, the upsert will add a new row with the omitted

columns filled with default values always.

  1. … 12 more files in changeset.
Implement TRAFODION-1420 Use ClientSmallScanner for small scans to improve perdormance Hbase implements an optimization for small scan (defined as scanning less than a data block ie 64Kb) resulting in 3X performance improvement. The underlying trick is about cutting down RPC calls from 3 (OpenScan/Next/Close) to 1, and use pread stateless instead of seek/read state-full and locking method to read data. This JIRA is about improving the compiler who can be aware if a scan will be acting on single data block (small) or not, and pass this data to executor so that it can use the right parameter for scan. (scan.setSmall(boolean)). reference:

  1. … 27 more files in changeset.
Anoop's delete expresssion change

  1. … 8 more files in changeset.
Merge remote branch 'origin/pr/167/head' into mrg_80

  1. … 4 more files in changeset.
[TRAFODION-1575] Avoid transforming update into delete and insert

commands to improve performance of update statements. When a table has

check constraint the update command is transformed into insert and delete.

Added code to evaluate constraint expressions in all TCBs so that

constraint checking is done correctly. But, the subtask [TRAFODION-1610]

needs to implemented before this change is exercised.

  1. … 6 more files in changeset.
[TRAFODION-1549] [TRAFODION-1550] TRAFODION-1549 : Extends event_log_reader TMUDF to read DCS logs and overflow files from all components TRAFODION-1550 : Improves performance of bulkloader by determining flush size based on row length Other changes Rework for TRAFODION-1279 suggested by Hans and not addressed in previous pull request Rework for TRAFODION-1474 for a regression found by Weishiun Tsai Fix for regress/hive/TEST020 occasional failure on build machine

  1. … 17 more files in changeset.
[TRAFODION-1456] Merge statement returns error 3241 when there is unique index in the table [TRAFODION-1493] Logs TMDUF does not scan udr logs Also enabled merge with views and merge with RI constraint.

  1. … 15 more files in changeset.
[TRAFODION-14] Inconsistency in index

Evaluated the DeletePreCond expression in the VSBB delete and

skipped the rows to be deleted when deleted. This is expected to resolve

the random failures with executor/TEST015.

Also, changed some of the tcb names to match the compiler names.





  1. … 1 more file in changeset.
Part 2 of changes to update license text in Trafodion source

This check-in updates license text in all source files in the

core/sql directory. Remaining directories will be done in

later check-ins.

  1. … 3147 more files in changeset.
TRAFODION-40 Make index-maintenance delete conditional

This fixes the issue where we update an indexed column to itself, and

the index maintenance tree both deletes and re-inserts the index row

within the same millisecond. This makes the index row disappear, as the

delete takes precedence over the insert, even though it happened earlier.

As a side-effect, index maintenance may get faster, because we are

also replacing the CheckAndPut of the index insert with a Put.

We could further improve this by processing multiple Puts together.

  1. … 9 more files in changeset.
Fix for [TRAFODION-14]

upsert or merge into a table with indexes can result

in inconsistency between index and table

This change avoids the HBase issue of rows getting lost when the

delete and put operations are done in the same milliseconds

timestamp dimension for the same rowid.

In the trafodion_delete operation execution, the row is skipped

for deletion if the new and old rowid evaluates to the same value.

This needs change from the compiler sub-task in the JIRA to complete

for it to be effective.

In addition removed yet another memory allocation for the delete


  1. … 8 more files in changeset.
Merge remote branch 'core/master'

  1. … 108 more files in changeset.
Move core into subdir to combine repos

    • -0
    • +1271
  1. … 10768 more files in changeset.
Move core into subdir to combine repos

    • -0
    • +1249
  1. … 10622 more files in changeset.
Move core into subdir to combine repos

Use: git log --follow -- <file>

to view file history thru renames.

    • -0
    • +1286
  1. … 10837 more files in changeset.