EXPECTED116

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix regression failuer

fix regression test failure

  1. … 1 more file in changeset.
fix sql regressions

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

  1. … 7 more files in changeset.
TRAFODION-1573: Additional GET commands for privileges TRAFODION-3074: Failed to register/unregister user when security disabled

TRAFODION-1573 changes:

- Added support for the following commands:

get privileges on <object>

<object>: [LIBRARY | PROCEDURE | FUNCTION | TABLE_MAPPING FUNCTION | SEQUENCE]

- Added support for the FOR CLAUSE on all supported objects

Removed the need to specify keyword 'USER" before username. If USER is

included, then it is ignored.

get privileges on <object> FOR [USER] <user or role name>

<objects>: [TABLES, VIEWS, LIBRARIES, PROCEDURES, FUNCTIONS,

TABLE_MAPPING FUNCTIONS, SEQUENCES]

- The following get command can only be run by DB__ROOT or a user that has been

granted the DB__ROOTROLE or DB__HIVEROLE role

get <objects> in schema hive.xx.xx;

<objects>: [TABLES, OBJECTS, VIEWS]

- The following get command can only be run by DB__ROOT or a user that has been

granted the DB__ROOTROLE or DB__HBASEROLE role

get external hbase objects;

- The following get commands retrieve privilege details from Trafodion metadata;

users can only see objects where they have been granted at least one privilege

get hive registered tables in catalog trafodion;

get hbase registered tables in catalog trafodion;

- get privileges commands now return owner's privileges in output

- Cleaned up code in the parser.

TRAFODION-3074 changes

- register user - fixed query to find next available authID

- unregister user - added checks to not read privilege metadata if authorization

is not enabled

  1. … 17 more files in changeset.
[TRAFODION-2853] memory leak of ComDiagsArea in CmpContext heap of mxosrvr

Fixes for the regression failures seen with b97982c4494e078c5de2d883442d86265f24dadc

This includes the change to report the error at the time of compilation

for invoke, showddl commands. Earlier errors were ignored during

prepare time and reported only at the time of execute for these commands

  1. … 15 more files in changeset.
[TRAFODION-2414] enhance 8616 commit conflict error message to include tx conflict details.

  1. … 31 more files in changeset.
Merge remote branch 'sbroeder_inctraf/sean_traf' into sean_traf

Adding expected file for test116 for JIRA [TRAFODION-1435]

  1. … 3 more files in changeset.
jira TRAFODION-2234 turn aligned format on, phase 1

This is phase 1 of aligned format change.

Dev regressions now run with aligned format tables.

To test both hbase and aligned format, some tests have explicit

specification to create hbase format tables.

Tests that test for features that are currently only available

with hbase format (like pushdown sel expr) create hbase format tables.

Many expected files have been updated to reflect aligned format,

mostly in showddl and explain output.

  1. … 35 more files in changeset.
jira TRAFIDION-1435 SQL support for region transactions

This checkin is to add support for sql compiler/executor support

for dtm region transactions.

cqd traf_use_region_xn 'ON' enables it.

Off by default for now until dtm support is complete and tested.

Explain (full and short) will also show if region transactions

are being used.

core/test116 has been enhanced with additional tests

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

  1. … 35 more files in changeset.
Merge branch 'master' of github.com:apache/incubator-trafodion into index_issue

Conflicts:

core/sql/bin/SqlciErrors.txt

  1. … 8 more files in changeset.
[TRAFODION-2074] Create index should avoid populating the index within a transaction

Fix for regression failure core/TEST116

Fix to return the error 8034 when an inconsistency due to missing column values

is detected at the time of fetching the row.

  1. … 3 more files in changeset.
[TRAFODION-2074] Create index should avoid populating the index within the transaction

Fix for failure in core/TEST116

  1. … 1 more file in changeset.
[TRAFODION-2074] Create index should avoid populating the index within a transaction Create index is now done in multiple transactions when there is no active transaction. 1) creating the index table in transaction 1. 2) populate the index without any transaction. If it fails, cleanup the index table. 3) If it succeeds complete the rest of the index creation in transaction 2. 4) If there are any failures, cleanup the index table.

When there is an active transaction while the create index is issued, then

all the above steps are done within the user transaction.

Also did some cleanup to return proper errors instead of dumping core

  1. … 7 more files in changeset.
commit #1

  1. … 25 more files in changeset.
update

  1. … 298 more files in changeset.
JIRA 1849 Add support for alter column rename (details below)

-- support for 'add column c rename to newc'

-- fixed issue with ddl stmts and aqr, it now works correctly

if ddl_transactions are being used

-- drop table with views now drops them in reverse creation order.

That way dependent views are dropped correctly.

-- views are dropped before and recreated after an alter column

statement.

-- dev regressions tests now show system columns in invoke.

-- index uid is now stored in desc and NATable structs

  1. … 51 more files in changeset.
Merge remote branch 'origin/master' into deliver2_dt_br

-- resolved merge conflicts

Conflicts:

core/sql/executor/HBaseClient_JNI.h

core/sql/regress/executor/EXPECTED013.SB

core/sql/regress/seabase/EXPECTED011

core/sql/sqlcomp/CmpSeabaseDDL.h

core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp

core/sql/sqlcomp/CmpSeabaseDDLtable.cpp

  1. … 18 more files in changeset.
JIRA TRAFODION-1798 (ddl xns) and few other fixes, details below.

-- support for sql part of ddl xns. Section 1 of JIRA TRAFODION-1798

-- cqd ddl_transactions to enable or disable ddl xns.

Default is currently off. Once it is tested, it will be turned on.

Dev regressions are run with cqd set to ON

-- get stmts run with read committed to get changes in current xns

-- support for where preds with get stmts

-- scan to pass in transid even if running with read uncommitted access.

This enables rows modified in current xn to be returned.

-- cleanup no longer return multiple duplicate error messages if

objects id is not found.

-- cleanup no longer includes internallay created schemas (_HV_ , _HB_)

during cleanup operations.

-- Correct error msg was not getting returned if an invalid index

existed in table and the same index was created again.

-- init traf, drop md views was giving an error if views didnt exist.

That has been fixed.

-- regressions with -diff option now show original file timestamps

instead of the timestamp when the diff command was run.

  1. … 72 more files in changeset.
TRAFODION-1798- Enable DDL transaction infrastructure by default. This is Step 0 ( of 4 steps ) as outlined in the jira.

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

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

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

to view file history thru renames.

  1. … 10837 more files in changeset.