Trafodion

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update.

    • -18
    • +46
    /core/sqf/src/seabed/test/tmerge.cpp
[TRAFODION-3022] Add web site link to Apache Current Events

Unique string fix.

Merge PR 1513 [TRAFODION-3009] Streamline error handling in Executor utility commands

More monitor p2p fixes to address Seabed test failures in virtual and real cluster testing.

    • -0
    • +10
    /core/sqf/monitor/linux/cluster.cxx
    • -0
    • +13
    /core/sqf/monitor/linux/monitor.cxx
    • -2
    • +9
    /core/sqf/monitor/linux/nameserver.cxx
    • -18
    • +28
    /core/sqf/monitor/linux/nsreqdelproc.cxx
    • -1
    • +1
    /core/sqf/monitor/linux/nsreqnewproc.cxx
    • -26
    • +71
    /core/sqf/monitor/linux/process.cxx
    • -1
    • +75
    /core/sqf/monitor/linux/replicate.cxx
    • -0
    • +26
    /core/sqf/monitor/linux/replicate.h
    • -7
    • +152
    /core/sqf/monitor/linux/reqqueue.cxx
[TRAFODION-3009] Streamline error handling in Executor utility commands

seabase/TEST002 failing with a core file. Yet another attempt to fix this issue.

    • -1
    • +2
    /core/sql/executor/ExExeUtilCommon.cpp
Get statement enhancements

Added support and privilege checks for the following commands:

get functions for library

get procedures for library

get table_mapping functions for library

get indexes on table

get objects on table

get views on table

get views on view

get libraries in schema

get objects in view

get tables in view

get views in view

get indexes for user

get tables for user

get libraries for user

get views for user

Changed "get libraries for schema" to include libraries where the current user

has execute privilege on one of the libraries routines (functions, procedures,

or table_mapping functions).

Addressed a performance issue when determining if the user has column level

privileges. If the user has granted privileges against native Hive tables

through EsgynDB, we need to get the column name from Hive. The call to get the

column, by calling hivemd, is very expensive. This change checks to see if the

requested user has been granted any column level privileges on a hive table.

If so, we will go ahead and do the mapping (call hivemd). If not, then we will

not include the hivemd fragment for the query. Since we are scanning the column

privileges table anyway, we also see if the requested user (or their roles) has

been granted any privileges. If so, we include the column privileges check in

the query.

Commented out get statements that we do not support at this time.

    • -143
    • +481
    /core/sql/executor/ExExeUtilGet.cpp
    • -85
    • +79
    /core/sql/generator/GenRelExeUtil.cpp
    • -0
    • +773
    /core/sql/regress/privs1/EXPECTED123
    • -16
    • +252
    /core/sql/regress/privs1/EXPECTED125
Merge PR 1511 [TRAFODION-3009] Streamline error handling in Executor utility commands

[TRAFODION-3009] Streamline error handling in Executor utility commands

get region stats command were populating the errors in the

queue entry directly, but still used handleErrors() to populate the

errors again in the HANDLE_ERROR_ state. In some cases, the diagnostics

area wasn't populated too.

In CDH5.4, when the table is purged, the region info wasn't returned

    • -75
    • +15
    /core/sql/executor/ExExeUtilGet.cpp
    • -25
    • +0
    /core/sql/executor/HBaseClient_JNI.cpp
Merge [TRAFODION-3019] PR 1505 Fix issue with pstmt.setByte

Merge [TRAFODION-3018] PR 1506 Fix issue with UPPER on an UPSHIFT column

    • -0
    • +16
    /core/sql/optimizer/BindItemExpr.cpp
[TRAFODION-3020] regression issue

Merge remote branch 'origin/pr/1509/head' into merge_1509

Fix for regression failure for hive/TEST017

PR-1507 Changes after PR 1502 review, plus jenkins compGeneral crash fix

Merge branch 'TRAFODION-2884' of github.com:zcorrea/trafodion into TRAFODION-2884

More p2p fixes.

    • -56
    • +44
    /core/sqf/monitor/linux/reqopen.cxx
Merge remote branch 'origin/master' into ansharma_trafixes_deliver2_br

Conflicts:

core/sql/executor/ExExeUtilGet.cpp

    • -88
    • +72
    /core/sql/executor/ExExeUtilGet.cpp
merge [TRAFODION-2335]

    • -0
    • +14
    /core/sql/generator/GenExpGenerator.cpp
    • -0
    • +23
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
    • -0
    • +15
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
review changes from PR 1502, plus jenkins compGeneral crash fix

    • -14
    • +16
    /core/sql/executor/ExExeUtilGet.cpp
Update.

Update.

Merge PR 1504 [TRAFODION-3009] Streamline error handling in Executor utility commands

More p2p fixes.

    • -0
    • +50
    /core/sqf/monitor/linux/ptpclient.cxx
    • -0
    • +10
    /core/sqf/monitor/linux/ptpcommaccept.cxx
    • -3
    • +3
    /core/sqf/monitor/linux/reqnewproc.cxx
Changes to report the error -1571 and -1572 correctly.

Fix for seabase/TEST002 failure with commit 5623b7df82adc37e15d8cfe25c39eb33f506b333

[TRAFODION-3009] Streamline error handling in Executor utility commands

Fix for hive/TEST007 failure

Merge branch 'master' of github.com:apache/trafodion into trafodion-3009_1

Conflicts:

core/sql/executor/ExExeUtilGet.cpp

    • -35
    • +84
    /core/sql/executor/ExExeUtilGet.cpp
Merge remote branch 'origin/pr/1503/head' into merge_1503

    • -6
    • +1
    /core/sql/generator/GenExpGenerator.cpp
    • -29
    • +39
    /core/sql/sqlcomp/nadefaults.cpp
Merge remote branch 'origin/master' into ansharma_trafixes_deliver2_br

Merge branch 'TRAFODION-2884' of github.com:zcorrea/trafodion into TRAFODION-2884