Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Optimizing and avoiding unnecessary function calls shown as hot spots in jprofile - part-II

Changed Hashtable to HashMap where possible with the assumption that the JDBC connection

shouldn't be used from different threads. TrafT4Connection object needs be made thread-safe.

Optimized org.trafodion.jdbc.t4.TrafT4ResultSet.findColumn by using HashMap of columnName to

columnIndex. This should avoid excessive calls to java.lang.String.equalsIgnoreCase.

Removed excessive calls to java.lang.Class.getMethod from TrafT4ResultSet

  1. … 5 more files in changeset.
Refact package name

    • -1
    • +1
    ./java/org/trafodion/phoenix/end2end/BaseTest.java
  1. … 158 more files in changeset.
[TRAFODION-2247] upsert on altered aligned format table with missing columns inserts incorrect values

While generating mergeInsertExpr or updateExpr, the added columns were not considered. This resulted

in incorrect relative offset value in the expressions in case of aligned row format and the row got

corrupted.

  1. … 3 more files in changeset.
TRAFODION-2234 Updated phoenix tests to work around an upsert on aligned format pbm

aligned format and upsert issue being tracked by jira trafodion-2247.

When that jira is fixed, phoenix testware changes will be reverted back.

updated phoenix test to handle bug reported by trafodion-2247

Fixed 2 date related issues in phoenix tests

(1) MM-DD-YYYY format is no longer supported. Changed it to MM/DD/YYYY

(2) Added an extra order by column to reinforce the row order of a date column.

[TRAFODION-1735] Added Apache license header for major mods

Per advice on legal-discuss mail list, these third-party files

have been modified enough that they need the Apache header as well

as the original copyright info.

    • -0
    • +22
    ./java/org/trafodion/phoenix/end2end/BaseTest.java
  1. … 27 more files in changeset.
Remove the BatchTest.java from phoenix

Remove it from phoenix since it is now in dcs/src/test/jdbc_test

    • -5
    • +0
    ./java/org/trafodion/phoenix/end2end/BaseTest.java
Merge branch 'master' of https://github.com/apache/incubator-trafodion into myphoenix

Add new jdbc rowsets test cases to dcs/src/test/jdbc_test folder.

New test cases added:

1. Batch insert with string overflow.

2. Batch update with string overflow.

3. Batch update with ID duplication.

4. Order the result set for test result assertion.

  1. … 2 more files in changeset.
Added a comment explaining missing check.

Merge [TRAFODION-1642] License issue fixes

    • -21
    • +0
    ./java/org/trafodion/phoenix/end2end/BaseTest.java
  1. … 7 more files in changeset.
Add a new case to BatchTest of Phoenix test

1. A new test case of inserting duplciate primary key value with

"insert" statement.

2. Changed the initializtion of expected value array of upsert

duplicate primary key values, previous code may cause incorrect test

result.

TRAFODION-1642: Release 1.3.0 copyrights and license files are incorrect

Part 2 of copyright and licensing changes

Removed double copyrights in files

Updated LICENSE, README, RAT_README to reflect latest changes

Added licenses directory to include license text

Added .gitattributes to exclude files from the source tar file

Changed Hewlett Packard copyright to Apache copyrights in win-odbc

    • -21
    • +0
    ./java/org/trafodion/phoenix/end2end/BaseTest.java
  1. … 123 more files in changeset.
Add Batch Data test cases for JDBC drivers

1. BatchInsert positive test case added into phoenix

2. BatchInsert negative test case added into phoenix

    • -0
    • +5
    ./java/org/trafodion/phoenix/end2end/BaseTest.java
    • -0
    • +186
    ./java/org/trafodion/phoenix/end2end/BatchTest.java
[TRAFODION-28] Update license text in tests directory

    • -11
    • +14
    ./java/org/trafodion/phoenix/end2end/BaseTest.java
  1. … 29 more files in changeset.
Merge remote branch 'origin/master' into traf-45

    • -0
    • +1175
    ./java/org/trafodion/phoenix/end2end/BaseTest.java
[TRAFODION-1436] Change Trafodion Phoenix Test package name to org.trafodion

Changed Trafodion Phoenix Test package name to org.trafodion

    • -191
    • +0
    ./java/com/hp/phoenix/end2end/AlterTableTest.java
    • -126
    • +0
    ./java/com/hp/phoenix/end2end/AutoCommitTest.java
    • -1175
    • +0
    ./java/com/hp/phoenix/end2end/BaseTest.java
    • -125
    • +0
    ./java/com/hp/phoenix/end2end/CreateTableTest.java
    • -137
    • +0
    ./java/com/hp/phoenix/end2end/DeleteRangeTest.java
    • -195
    • +0
    ./java/com/hp/phoenix/end2end/FunkyNamesTest.java
  1. … 67 more files in changeset.
[TRAFODION-45] Change default port number for DCS Master and DCS WebUI [TRAFODION-1152] LP Bug: 1442685 - DCS: Tries to start even if trafodion is not running [TRAFODION-1269] LP Bug: 1463496 - Change default port numbers for DCS Master and DCS WebUI

dcscheck script has been added to $MY_SQROOT/sql/scripts folder. This

displays the port number that dcs master is listening on

  1. … 18 more files in changeset.
Rename test to tests/phx

    • -0
    • +191
    ./java/com/hp/phoenix/end2end/AlterTableTest.java
    • -0
    • +648
    ./java/com/hp/phoenix/end2end/ArithmeticQueryTest.java
    • -0
    • +126
    ./java/com/hp/phoenix/end2end/AutoCommitTest.java
    • -0
    • +1175
    ./java/com/hp/phoenix/end2end/BaseTest.java
    • -0
    • +196
    ./java/com/hp/phoenix/end2end/BinaryRowKeyTest.java
    • -0
    • +92
    ./java/com/hp/phoenix/end2end/CoalesceFunctionTest.java
    • -0
    • +125
    ./java/com/hp/phoenix/end2end/CreateTableTest.java
    • -0
    • +274
    ./java/com/hp/phoenix/end2end/CustomEntityDataTest.java
    • -0
    • +137
    ./java/com/hp/phoenix/end2end/DeleteRangeTest.java
    • -0
    • +771
    ./java/com/hp/phoenix/end2end/DescColumnSortOrderTest.java
    • -0
    • +382
    ./java/com/hp/phoenix/end2end/DistinctCountTest.java
    • -0
    • +414
    ./java/com/hp/phoenix/end2end/ExecuteStatementsTest.java
    • -0
    • +219
    ./java/com/hp/phoenix/end2end/ExtendedQueryExecTest.java
    • -0
    • +195
    ./java/com/hp/phoenix/end2end/FunkyNamesTest.java
  1. … 77 more files in changeset.
Rename test to tests/phx

    • -0
    • +191
    ./java/com/hp/phoenix/end2end/AlterTableTest.java
    • -0
    • +648
    ./java/com/hp/phoenix/end2end/ArithmeticQueryTest.java
    • -0
    • +126
    ./java/com/hp/phoenix/end2end/AutoCommitTest.java
    • -0
    • +1175
    ./java/com/hp/phoenix/end2end/BaseTest.java
    • -0
    • +196
    ./java/com/hp/phoenix/end2end/BinaryRowKeyTest.java
    • -0
    • +92
    ./java/com/hp/phoenix/end2end/CoalesceFunctionTest.java
    • -0
    • +125
    ./java/com/hp/phoenix/end2end/CreateTableTest.java
    • -0
    • +274
    ./java/com/hp/phoenix/end2end/CustomEntityDataTest.java
    • -0
    • +137
    ./java/com/hp/phoenix/end2end/DeleteRangeTest.java
    • -0
    • +771
    ./java/com/hp/phoenix/end2end/DescColumnSortOrderTest.java
    • -0
    • +382
    ./java/com/hp/phoenix/end2end/DistinctCountTest.java
    • -0
    • +414
    ./java/com/hp/phoenix/end2end/ExecuteStatementsTest.java
    • -0
    • +219
    ./java/com/hp/phoenix/end2end/ExtendedQueryExecTest.java
    • -0
    • +195
    ./java/com/hp/phoenix/end2end/FunkyNamesTest.java
  1. … 75 more files in changeset.
Rename test to tests/phx

    • -0
    • +191
    ./java/com/hp/phoenix/end2end/AlterTableTest.java
    • -0
    • +648
    ./java/com/hp/phoenix/end2end/ArithmeticQueryTest.java
    • -0
    • +126
    ./java/com/hp/phoenix/end2end/AutoCommitTest.java
    • -0
    • +1175
    ./java/com/hp/phoenix/end2end/BaseTest.java
    • -0
    • +196
    ./java/com/hp/phoenix/end2end/BinaryRowKeyTest.java
    • -0
    • +92
    ./java/com/hp/phoenix/end2end/CoalesceFunctionTest.java
    • -0
    • +125
    ./java/com/hp/phoenix/end2end/CreateTableTest.java
    • -0
    • +274
    ./java/com/hp/phoenix/end2end/CustomEntityDataTest.java
    • -0
    • +137
    ./java/com/hp/phoenix/end2end/DeleteRangeTest.java
    • -0
    • +771
    ./java/com/hp/phoenix/end2end/DescColumnSortOrderTest.java
    • -0
    • +382
    ./java/com/hp/phoenix/end2end/DistinctCountTest.java
    • -0
    • +414
    ./java/com/hp/phoenix/end2end/ExecuteStatementsTest.java
    • -0
    • +219
    ./java/com/hp/phoenix/end2end/ExtendedQueryExecTest.java
    • -0
    • +195
    ./java/com/hp/phoenix/end2end/FunkyNamesTest.java
  1. … 77 more files in changeset.