BindRelExpr.cpp

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[TRAFODION-3296] Fix handling of [first n] + ORDER BY subqueries

  1. … 7 more files in changeset.
jira TRAFODION-3157 Add support for BINARY/VARBINARY datatype

Spec attached to jira.

new test regress/seabase/TEST004 added.

  1. … 86 more files in changeset.
TRAFODION - 3218 User still has privilege after user's role has been revoked ...

Partial support for column level privileges with QI support for:

column select

column insert

column references

column update

Also, as part of this, updated privilege code in a couple of areas:

Changed object caching code in NATable and NARoutine to store all privileges

assigned to the object when the object is cached (privDescs_). During the load

operation, the code creates bitmaps (privInfo_) for the current user. Privilege

checks are performed against the user bitmaps (privInfo_). This is in

anticipation for some performance updates when connecting to Trafodion (mxosrvr)

with different users.

Change getRoleList to include the roleID and the granteeID that granted the

privilege. The grantee can be a user or a role.

When a privilege is revoked from a role, send QI keys for every user that has

been granted to role.

  1. … 40 more files in changeset.
TRAFODION-3086 DDL on Hive objs: use database and msck support

-- traf "set schema hive.<sch>" now behaves the same as Hive "use <db>".

1) <sch> is validated to exist at set schema time.

2) <sch> is set in Hive environment for that session. Any unqualified

object reference in ddl uses that default schema (database)

-- added support for msck (meta store check) command.

This command repairs database by refreshing untracked files/partitions

in hive metadata.

  1. … 14 more files in changeset.
TRAFODION-3086 Further enhancements to 'DDL on Hive objects'

-- Hive CTAS enhancements

-- CTAS will do create through Hive and insert...select in Traf

-- a cqd can be set if CTAS need to be passed in completely to Hive

-- CTAS 'no load' option can be used to create a Hive

table LIKE a traf table.

Older 'create hive like traf' is removed.

-- explain for CTAS to show ddl, insert...select, upd...stats stmts

-- Truncate enhancements.

-- traf: purgedata, truncate, truncate table

-- Hive: truncate, truncate table

-- 'if exists' option has been added

-- Hive truncate is through new exeutil operator

-- older operator uses LOB interface to clear data.

Maintained as Legacy operator, will be removed.

-- new operator uses Hive to truncate tables

-- explain for truncate to show trunc query that will be sent

-- removed obsolete parallel label op

-- removed obsolete purgedata (fast delete) op

  1. … 30 more files in changeset.
TRAFODION-3086 Traf support for DDL operations on Hive objects

-- Support for TRAFODION-3086. Details in document attached to jira.

Other changes:

-- support for "if not exists", "if exists" clause for create/drop view

-- Support for: truncate T, truncate table T.

-- same as purgedata

-- showddl <tab>, detail

-- unregister hive schema <sch>

-- will unregister all objects in specified schema

-- Support for "if not registered", "if registered" clauss for

register/unregister command.

  1. … 90 more files in changeset.
  1. … 11 more files in changeset.
take care of merge value

  1. … 4 more files in changeset.
[TRAFODION-3007] update statistics report error on volatile table

  1. … 5 more files in changeset.
Merge branch 'master' of git://git.apache.org/trafodion into TRAFODION-2335

  1. … 5 more files in changeset.
[TRAFODION-2335] support some functions as column default, part1 commit

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

Fix for the regression failures seen with commit 07f41ddb3042ac039252bd09955fb59bb80c8f9a

  1. … 4 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.
Merge [TRAFODION-2974] Make event log reader and JDBC real TMUDFs PR-1460

[TRAFODION-2974] Make event log reader and JDBC real TMUDFs

Roberta pointed out that we have two predefined UDFs, EVENT_LOG_READER

and JDBC, where the system administrator should have the ability to

control who can execute these functions.

To do this, these two UDFs cannot be "predefined" UDFs anymore, since

those don't have the metadata that's required for doing grant and

revoke.

Roberta also pointed out that the JDBC UDF should refuse to connect to

the T2 driver, for security reasons.

The fix leaves the predefined TMUDFs in place, for now, they will be

removed in R2.4 (see TRAFODION-2975).

The new "real" TMUDFs are in the "_LIBMGR_" schema, mostly for

convenience, as this schema has other UDFs that are created when

Trafodion is initialized.

  1. … 10 more files in changeset.
Rework based on Hans' comments

[TRAFODION-2969] Fix interaction of [first n] etc. with subqueries

  1. … 4 more files in changeset.
[TRAFODION-2840] Make [first n] with ORDER BY views non-updatable

  1. … 6 more files in changeset.
[TRAFODION-2888] Streamline setjmp/longjmp concepts in Trafodion

First set of changes to streamline setjmp/longjmp.

a) Removed the setjmp in heap management within Trafodion.

b) Removed obsolete code related to No-wait operation concepts in SQL

  1. … 30 more files in changeset.
Merge remote branch 'origin/pr/1330/head' into merge_1330

JIRA TRAFODION-2834 Streamline supported xn access modes

traf DTM only supports 'read committed access' for selects

and 'set transaction ' stmts.

With this checkin, only those 2 options will be allowed.

All other access options will return an error.

Read uncommitted access will be treated as read committed.

  1. … 60 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.
[TRAFODION-2768] Make Trafodion code base to compile in RH7

The earlier commit ec9ec17 was used to build Trafodion in RH7 system.

This change fixes the compilation errors seen in such a build. But, there

are still some unresoled references in RH7 that need to be addressed.

  1. … 8 more files in changeset.
[TRAFODION-2768] Make Trafodion code base to compile in RH7

  1. … 126 more files in changeset.
Merge [TRAFODION-2763] PR-1257 Left join with non-equi join predicate in ON clause may cause corefiles

Merge [TRAFODION-1610] PR 1253 Generate constraint exprs on update operators

  1. … 3 more files in changeset.
[TRAFODION-2763] Left join with non-equi join predicate in ON clause may cause corefiles

This PR also includes a small change for

[TRAFODION-2764] LOAD and UNLOAD statements with LOB columns cause runtime errors

The files affected by each change is different. Please see JIRA for a description of the problem and the fix.

2763

generator/GenPreCode.cpp

2764

bin/SqlciErrors.txt

optimizer/BindRelExpr.cpp

  1. … 2 more files in changeset.
[TRAFODION-1610][TRAFODION-2630] Generate constr exprs on update operators

  1. … 5 more files in changeset.
TRAFODION-2731 CodeCleanup: Phase 4. Remove legacy/obsolete pragmas

  1. … 392 more files in changeset.
lcov: commit #1

  1. … 333 more files in changeset.