Trafodion

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge [TRAFODION-2514] PR 985 Obscure cores seen in Trafodion while running jenkins tests with RH7

[TRAFODION-2517] Allow scalar UDFs with delimited identifiers

Added a parser rule for this case. Fortunately the new rule did not

increase the number of parser conflicts. Note that TMUDFs already

allowed delimited identifiers.

Merge [TRAFODION-2477] Invalid characters in translation are ignored PR-986

Merge Trafodion 2496 to 2.1

Merge Trafodion 2477 to 2.1

[TRAFODION-2477] Invalid characters in translation are ignored

Right now we ignore such invalid characters and also may truncate

the string at the point of the invalid char. The expected behavior

would be an error.

The only type of invalid data I could create with regular SQL syntax

is an invalid UTF-16 surrogate pair. We have no checks that detect

those when we enter the data. Invalid UTF-8, on the other hand, is

rejected when we try to insert it in the database (at least in the

case I tried).

The fix adds a check to generate an error (file conversionLocale.cpp).

It also adds two CQDs to suppress the error (remaining code files)

and to replace the invalid character with a replacement character.

Right now we use "?", even for Unicode, which has a special replacement

character, see TRAFODION-2515.

    • -1
    • +13
    /core/sql/generator/GenItemFunc.cpp
    • -0
    • +68
    /core/sql/regress/charsets/EXPECTED314
Merge [TRAFODION-2499] TMUDF does not pass error to client PR-984

[TRAFODION-2514] Obscure cores seen in Trafodion while running jenkins tests with RH7

The global object gv_sb_thread_table was not constructed in a

thread safe manner.

There was buffer overrun while creating explain fragment involving hive tables.

    • -12
    • +26
    /core/sqf/src/seabed/src/threadl.cpp
    • -14
    • +13
    /core/sql/generator/GenExplain.cpp
[TRAFODION-2514] Obscure cores seen in Trafodion while running jenkins tests with RH7

The global object gv_sb_thread_table was not constructed in a

thread safe manner.

There was buffer overrun while creating explain fragment involving hive tables.

    • -12
    • +26
    /core/sqf/src/seabed/src/threadl.cpp
    • -14
    • +13
    /core/sql/generator/GenExplain.cpp
[TRAFODION-2499] TMUDF does not pass error to client

Added check to avoid clearing out the error when source and

destination diags area are the same.

fix jira 2462

    • -18
    • +18
    /core/conn/trafci/install/Installer.java-tmpl
Merge PR 981

Merge [TRAFODION-2498] PR-979 Add support to run hive stmts from traf interface

Reverting minor version back to 1

[TRAFODION-2510] pyinstaller - remove DB__ADMIN from installer

[TRAFODION-2510] pyinstaller - remove DB__ADMIN from installer

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

Conflicts:

core/sqf/monitor/linux/clusterconf.cxx

core/sqf/monitor/linux/monlogging.cxx

core/sqf/monitor/linux/pstartd.cxx

    • -1
    • +1
    /core/sqf/monitor/linux/monlogging.cxx
    • -1
    • +56
    /core/sqf/monitor/linux/pnodeconfig.cxx
    • -11
    • +47
    /core/sqf/monitor/linux/shell.cxx
    • -20
    • +90
    /core/sqf/monitor/linux/zclient.cxx
Trafodion configuration API changes - new library files

    • -0
    • +3136
    /core/sqf/monitor/linux/sqliteconfig.cxx
    • -0
    • +133
    /core/sqf/monitor/linux/sqliteconfig.h
    • -0
    • +403
    /core/sqf/monitor/linux/trafconfig.cxx
    • -0
    • +286
    /core/sqf/monitor/linux/trafconfig.h
    • -0
    • +121
    /core/sqf/monitor/linux/trafconfiglog.cxx
    • -0
    • +44
    /core/sqf/monitor/linux/trafconfiglog.h
    • -0
    • +349
    /core/sqf/monitor/linux/trafconfigtrace.cxx
    • -0
    • +103
    /core/sqf/monitor/linux/trafconfigtrace.h
Trafodion configuration API changes

    • -1311
    • +330
    /core/sqf/monitor/linux/clusterconf.cxx
    • -62
    • +52
    /core/sqf/monitor/linux/clusterconf.h
    • -596
    • +205
    /core/sqf/monitor/linux/config.cxx
    • -31
    • +18
    /core/sqf/monitor/linux/lnodeconfig.cxx
    • -21
    • +16
    /core/sqf/monitor/linux/lnodeconfig.h
    • -42
    • +66
    /core/sqf/monitor/linux/makefile
    • -59
    • +15
    /core/sqf/monitor/linux/monlogging.cxx
    • -48
    • +17
    /core/sqf/monitor/linux/persistconfig.cxx
  1. … 12 more files in changeset.
TRAFODION-2498 Add support to run hive stmts from traf interface

Syntax:

process hive statement '<string>';

<string>: hive statement starting with create/drop/alter/truncate.

These are the only stmts currently supported.

Ex:

>>process hive statement 'create database trafsch';

will create hive database 'trafsch'

>>process hive statement 'create table trafsch.t (a int)';

will create hive table 't' in hive schema 'trafsch'.

'process hive statment ..' could be issued from any traf interface

(sqlci/trafci/jdbc...)

    • -8
    • +32
    /core/sql/executor/ExExeUtilGet.cpp
    • -0
    • +125
    /core/sql/executor/ExExeUtilMisc.cpp
    • -1
    • +62
    /core/sql/generator/GenRelExeUtil.cpp
    • -64
    • +68
    /core/sql/regress/hive/EXPECTED005
    • -35
    • +51
    /core/sql/regress/hive/EXPECTED007
  1. … 10 more files in changeset.
Merge remote branch 'origin/master' into TRAFODION-2001

Conflicts:

core/sqf/monitor/linux/config.cxx

core/sqf/monitor/linux/pnodeconfig.cxx

core/sqf/monitor/linux/pnodeconfig.h

core/sqf/monitor/linux/reqqueue.cxx

core/sqf/monitor/linux/shell.cxx

core/sqf/sql/scripts/gensq.pl

core/sqf/sql/scripts/sqconfig

core/sqf/sql/scripts/sqconfig.sample

core/sqf/sql/scripts/sqgen

core/sqf/sql/scripts/sqnodestatus

    • -1
    • +1
    /core/sqf/monitor/linux/clusterconf.cxx
    • -2
    • +2
    /core/sqf/monitor/linux/monlogging.cxx
    • -1
    • +56
    /core/sqf/monitor/linux/pnodeconfig.cxx
    • -10
    • +33
    /core/sqf/monitor/linux/process.cxx
    • -0
    • +14
    /core/sqf/monitor/linux/reqqueue.cxx
    • -11
    • +47
    /core/sqf/monitor/linux/shell.cxx
    • -20
    • +90
    /core/sqf/monitor/linux/zclient.cxx
  1. … 14 more files in changeset.
Merge remote branch 'origin/pr/977/head' into merge_977

review comment #2

    • -4
    • +7
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
[TRAFODION-2482] documentation for python installer

[TRAFODION-2482] documentation for python installer

Merge [TRAFODION-2475] PR-965 Improved error handling for HBASE_OPTIONS clause

Merge branch 'master' of github.com:apache/incubator-trafodion into compress1

Conflicts:

core/sql/regress/seabase/EXPECTED002

    • -3
    • +52
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
Merge remote branch 'origin/master' into 2.2_work

Conflicts:

core/sql/optimizer/NATable.cpp

    • -2395
    • +2487
    /core/sql/optimizer/NATable.cpp
    • -6
    • +100
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
Fixes from review

    • -1
    • +1
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
Merge [TRAFODION-2492] PR-976 Support for native hive views, plus few more changes

    • -27
    • +176
    /core/sql/executor/ExExeUtilGet.cpp
    • -24
    • +38
    /core/sql/generator/GenRelExeUtil.cpp