Trafodion

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
add close to TestClientInfo.java

add try catch

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.

    • -10
    • +10
    /core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp
    • -14
    • +10
    /core/sql/common/ComTransInfo.cpp
    • -126
    • +86
    /core/sql/common/ComTransInfo.h
    • -16
    • +14
    /core/sql/generator/GenExplain.cpp
    • -18
    • +24
    /core/sql/optimizer/BindRelExpr.cpp
  1. … 46 more files in changeset.
Merge PR 1283 [TRAFODION-2788 ]- jdbc does not implement ClinetInfo related api

[TRAFODION-2836] Enable Trafodion SQL processes to configure garbage collector in its embedded JVM

Provided a way to configure the garbage collector when the JVM is created

in EsgynDB processes.

[TRAFODION-2420] RMS enhancements

The float type counters such as Estimated Accesssed Rows, Estimated Rows used and

Estimated Memory are not formatted correctly after sprintf changes.

This resulted in RMS output to be messed up making it diffcult to read and analyze

the output.

(cherry picked from commit 41c0ca7067c1e0097c05e1c823ea26eb2a828591)

    • -51
    • +13
    /core/sql/executor/ExExeUtilGetStats.cpp
[TRAFODION-2835] Add script to aid in merge conflict resolution

    • -0
    • +112
    /core/sqf/sql/scripts/beheadMergeConflict.py
[TRAFODION-2831] Add security and events links to trafodion website

Merge [TRAFODION-2827] PR 1326 Turn update costing on by default

Add VARCHAR2 for *Trafodion SQL Reference Manual*

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.

    • -47
    • +61
    /core/sql/optimizer/BindRelExpr.cpp
    • -38
    • +52
    /core/sql/regress/executor/EXPECTED130
[TRAFODION-2831] Add project DOAP file for inclusion in ASF project list

The project DOAP file was created from template at:

https://projects.apache.org/create.html

That page also says it should not be included in source/binary packages,

hence it is excluded from git export used to create source product.

Merge [TRAFODION-2826] Consolidate trafci defaults in trafci.sh script

    • -7
    • +52
    /core/conn/trafci/utils/trafci.sh-tmpl
[TRAFODION-2827] Turn update costing code on by default

    • -2
    • +3
    /core/sql/regress/compGeneral/EXPECTED071
    • -6
    • +13
    /core/sql/regress/core/EXPECTED020.SB
    • -332
    • +775
    /core/sql/regress/seabase/EXPECTED010
    • -35
    • +59
    /core/sql/regress/seabase/EXPECTED011
[TRAFODION-2733] BMO quota changes

To ensure BMO quota assignment works even when the estimates are way off.

Introduced a CQD BMO_MEMORY_ESTIMATE_OUTLIER_FACTOR. When a BMO memory

estimate exceeds BMO_MEMORY_LIMIT_PER_NODE_IN_MB by this factor,

the BMO memory estimate for the operator is reset to

BMO_MEMORY_LIMIT_PER_NODE_IN_MB * BMO_MEMORY_ESTIMATE_OUTLIER_FACTOR.

Then BMO memory estimate and the quota is assigned based on the

revised estimate.

    • -1
    • +3
    /core/sql/executor/ExExeUtilGetStats.cpp
    • -18
    • +11
    /core/sql/generator/GenPreCode.cpp
    • -3
    • +3
    /core/sql/generator/GenRelEnforcer.cpp
    • -54
    • +25
    /core/sql/generator/GenRelGrby.cpp
    • -58
    • +18
    /core/sql/generator/GenRelJoin.cpp
    • -48
    • +18
    /core/sql/generator/GenRelMisc.cpp
    • -18
    • +20
    /core/sql/generator/GenRelSequence.cpp
    • -15
    • +89
    /core/sql/generator/Generator.cpp
    • -1
    • +1
    /core/sql/optimizer/RelFastTransport.cpp
  1. … 13 more files in changeset.
fix TRAFODION-2830

add regression test for COMMENT-ON statement

    • -0
    • +1154
    /core/sql/regress/compGeneral/EXPECTED072
    • -0
    • +17
    /core/sql/regress/compGeneral/FILTER072
    • -0
    • +261
    /core/sql/regress/compGeneral/TEST072
    • -0
    • +20
    /core/sql/regress/compGeneral/TEST072.cpp
    • -0
    • +32
    /core/sql/regress/compGeneral/TEST072.java
Merge [TRAFODION-2822] PR 1316 Make [first n] views not updatable + merge fix

TRAFODION-2829

    • -5
    • +13
    /core/conn/trafci/install/Installer.java-tmpl
    • -0
    • +2
    /core/conn/trafci/lib/python/Session.py
    • -0
    • +1
    /core/conn/trafci/samples/sampleDDL.py
    • -0
    • +1
    /core/conn/trafci/samples/sampleDML.py
    • -0
    • +1
    /core/conn/trafci/samples/sampleTables.py
fix TRAFODIION-2828

Merge [TRAFODION-2824] PR 1319 Update HPT4 references to TrafT4

add limit clause support for LOAD-INTO statement.

add limit clause support for LOAD-INTO statement.

PR-1322 Regr fixes for hive/fullstack2

regr fixes for hive and fullstack2

-- hive fix is for an earlier checkin related to java deallocation

for sequence files

-- fullstack2 is expected file update for release mode run

    • -1
    • +2
    /core/sql/executor/SequenceFileReader.cpp
    • -11
    • +0
    /core/sql/regress/fullstack2/EXPECTED062.RELEASE
PR-1317 [TRAFOFION-2731] CodeCleanup: Phase6: Cleanup of obsolete/unused cqds

[TRAFODION-2826] Consolidate trafci defaults in trafci.sh script

trafci is wrapper used mostly for development, but either script should

pick up client configuration file if present to determine host and user.

    • -7
    • +52
    /core/conn/trafci/utils/trafci.sh-tmpl
TRAFODION-2823 some test case donot close connection

TRAFODION-2824

    • -1
    • +1
    /core/conn/trafci/utils/trafci.sh-tmpl
add sampleUtils.java change

TRAFODION-2825 add jdbc user case

    • -0
    • +119
    /core/conn/jdbcT4/src/main/samples/BatchSample/BatchSample.java
    • -0
    • +146
    /core/conn/jdbcT4/src/main/samples/BatchSample/README.md
    • -0
    • +55
    /core/conn/jdbcT4/src/main/samples/TransactionSample/README.md