Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Library manager fixes and LOB alter fix

  1. … 9 more files in changeset.
Remove code that empties the LOB data file when creating an empty_blob.

  1. … 2 more files in changeset.
Fixes for regression tests and expected files

  1. … 5 more files in changeset.
Fixees to support stroring Udr libraries s Blobs.

  1. … 45 more files in changeset.
[TRAFODION-3110] Refactor LOB access to use the new implementation of HdfsClient

LOB: Extract lobtofile() to a hdfs file returns 8442 error

Implemented the missing code to support this functionality via the new

implementation.

  1. … 8 more files in changeset.
[TRAFODION-3162] fix regression failure get command

  1. … 3 more files in changeset.
merge [TRAFODION-3101] enhance get command to show rows get

  1. … 2 more files in changeset.
[TRAFODION-3101] enhance get command to show rows get

  1. … 7 more files in changeset.
[TRAFODION-3110] Refactor LOB access to use the new implementation of HdfsClient

This feature is enabled by default. To disable, set a variable USE_LIBHDFS=1 in

$TRAF_HOME/etc/ms.env and restart the trafodion cluster.

This feature includes the following:

1. Uses single FSDataInputStream for each LOB column in a query as

opposed to the opening the hdfs file for every row.

2. Uses FSDataOutputStream to write the lob data but closes it

immediately to allow concurrent writes to the hdfs file. HDFS supports

a single writer at a time. Need to conform if multiple writes can

be done without the need for RMS lock feature.

3. Improved error messaging that displays the java exception stack to the

end user.

4. LOB worker threads are no longer created

  1. … 12 more files in changeset.
Remove use of new parser token TOK_FILENAME and reuse existing token for TOK_NAME. ../../../sql/optimizer/bre

  1. … 3 more files in changeset.
New syntax to retrieve the LOB HDFS filename for both external and internal LOBs . Also added syntax to return starting offset of a particular LOB handle in the LOB Hdfs data file.

  1. … 15 more files in changeset.
Fix for hang when preparing insert statements using values tuple list inot lob columns. The fix is to detect the values list at compile time and if the target type is LOB, return an error. Additional fix is to exclude LOb descriptor files from being classified as "special" type. This ensures they will be included in query cache.

  1. … 4 more files in changeset.
Merge remote branch 'origin/pr/1216/head' into merge_1216

  1. … 11 more files in changeset.
Main change:

Added a method for JDBC driver to be able to close an open cursor abruptly by passing in a 0 length to the extract syntax. This will ensure internal opens are not left around if the application does not retrieve all the data with the stream API.

This abrupt close can be called when the result set is closed or the connection is closed by keeping track of all the open Blob objects. (in the driver)

Added a freeResources method and destructor to LobExtract and LobUpdate Tcbs.

Minor changes and fixes :

Refactored the ExLob::closeCursor

Removed the LOB_CLI_SELECT_CLOSE call from ::fetchCursor so it gets closed only when ExLob::closeCursor is called. Makes the code consistent and readable.

Took care of a few memory allocations and deletions.

Refactored the LOB length calculation into on ecommon method so it works correctly for both regular LOB dat aas well as external LOB files. Earlier the external lobs length was being returned incorrectly. Now it reports the length of the external HDFS file .

Fixed one place in generator where the CQD value was not being multiplied by the MB units correctly.

  1. … 10 more files in changeset.
Expected file change for TEST130

  1. … 1 more file in changeset.
Support for insert-select for tables containing LOB columns.

  1. … 16 more files in changeset.
Rework the fix for [TRAFODION-2516] to returntype for param as LOB instead of coercing the type by default to char type since it confuses JDBC and Catalog APIs. The expected input param still is expected as a varchar format. Also added testcases both for the regression as well as the clitestdriver program.

  1. … 11 more files in changeset.
Support for insert-select from varchar/char colummns into lob columns. Supposed for insert with parameter.This work is done as part of [TRAFODION-2516]

  1. … 5 more files in changeset.
Second rework

  1. … 3 more files in changeset.
Testware changes to address memory corruption

  1. … 2 more files in changeset.
Fixed misc issues from review and testware issues

  1. … 7 more files in changeset.
Changes to support new syntax and implementation empty_blob/empty_clob for insert/updates Changes to support new syntax for updating a lob directly through a lobhandle without scanning the table.This is done via new ExeUtil operator. Changes to add columnname info to LOBMD_ table. This helps in mapping any given lobhandle back to the table and the column. Added new sections to the regression test executor/TEST130 to test these changes

  1. … 40 more files in changeset.
[TRAFODION-2140] Move IUS feature to open source

  1. … 35 more files in changeset.
Minor Expected file change

Merge remote branch 'origin/master'

Conflicts:

core/sql/regress/executor/EXPECTED130

  1. … 6 more files in changeset.
Support for external lobs. Data files are stored externally in HDFS and only filehandles and file locations are stored in internal Trafodion tables.

  1. … 25 more files in changeset.
Improve error message for lob functions called on invalid LOB types.

  1. … 2 more files in changeset.
Better error message and test addition in regressions.

  1. … 2 more files in changeset.
Add test to regressions

  1. … 1 more file in changeset.
Fix for Trafodion-1941 to allow syntax for secifying length for blob/clob columns.iInvolves syntax changees and ene runtime checks and a new testcase in executor/TEST130.

Error handling fix related to JIRA TRAFODION-1943. The drop schema code will now exit as soon as there is an error and not continue executing.ALso fixed a problem in drop schema code where "if exists" was not specified correctly leading to syntax errors.

  1. … 11 more files in changeset.