Trafodion

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
As debugged by Arvind: Increase size of the buffer that reads cmdline arg

Conflicts:

core/sql/cli/CliExtern.cpp

OLAP Functions 2

OLAP Functions 2

Merge copyright header

optimize ps command in uninstall script

    • -2
    • +2
    /install/python-installer/db_uninstall.py
optimize ps command in uninstall script

    • -2
    • +2
    /install/python-installer/db_uninstall.py
[TRAFODION-2468] DDL HA , step 2 changes(please refer jira).

Year change for banner

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

Merge [TRAFODION-2517] Allow scalar UDFs with delimited identifiers PR-987

[TRAFODION-2518] pyinstaller - remove unused db_admin settings.

    • -2
    • +0
    /install/python-installer/db_install.py
    • -1
    • +1
    /install/python-installer/db_uninstall.py
[TRAFODION-2518] pyinstaller - remove unused db_admin settings.

    • -2
    • +0
    /install/python-installer/db_install.py
    • -2
    • +2
    /install/python-installer/db_uninstall.py
OLAP functions

OLAP functions

fix review comments. (cherry picked from commit 429f42604459874a1190d833fe9ec0e3666856d7)

    • -1
    • +1
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
fix memory corruption caused by Int32 vs Int64 in executeImmediate calls. (cherry picked from commit dd2ad5c59c85882466c1c170e0edd6527a6d13a8)

    • -1
    • +1
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
    • -3
    • +3
    /core/sql/sqlcomp/CmpSeabaseDDLschema.cpp
    • -1
    • +1
    /core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
Python documentation TRAFODION-2482 to 2.1

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