Trafodion

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Trafodion-1100 Creator of view in private schema unable to select from view

For private schemas, all objects are owned by the schema owner. If an authID

has create component privilege, they can create objects in other schemas.

However, the owner of the new object is still the schema owner.

When the object creator is not the schema owner, then the schema owner

automatically becomes the owner and the object creator is granted all relevant

privileges on the object WGO.

For views, this was not working correctly.

Also found another issue where column privileges were not being handled

correctly when generating the privileges list.

Problem is described in more detail in the JIRA

Changes:

CmpSeabaseDDLview - changed the create view code to add privileges for both the

schema owner and the view creator, and fixes the privilege list issue.

PrivMgr - added a helper function to convert an authID to an authName

PrivMgrCommands - changed the API to send in the grantor ID

PrivMgrPrivileges - changed the code to use the passed in grantor

TEST141 - added a new regression test, it is currently skipped until

trafodion-1087 is resolved.

    • binary
    /core/sql/regress/catman1/EXPECTED141
    • -0
    • +394
    /core/sql/regress/catman1/TEST141
    • -69
    • +166
    /core/sql/sqlcomp/CmpSeabaseDDLview.cpp
    • -4
    • +12
    /core/sql/sqlcomp/PrivMgrPrivileges.cpp
Another set of changes to take care reviewer comments

    • -8
    • +1
    /core/sql/executor/HBaseClient_JNI.cpp
Merge branch 'master' into privs

Changes to a few script related sql message file and to lob startup. Includes change from Narendra for starting lob process when a node is intergrated.

Fix for seabase/TEST022 failure Changes as per the review comments of PR-178

    • -0
    • +7
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
Merge branch 'master' of github.com:apache/incubator-trafodion into trafodion-1423

    • -4
    • +35
    /core/sql/generator/GenRelUpdate.cpp
    • -3
    • +0
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
    • -1
    • +7
    /core/sql/sqlcomp/CmpSeabaseDDLindex.cpp
Merge branch 'master' of git://git.apache.org/incubator-trafodion into TRAFODION-1507

Adding files that were not included in first commit.

    • -0
    • +154
    /docs/src/site/markdown/architecture-overview.md
    • -0
    • +50
    /docs/src/site/markdown/code-organization.md
    • -0
    • +50
    /docs/src/site/markdown/contribute.md
    • -0
    • +128
    /docs/src/site/markdown/index.md
    • -0
    • +169
    /docs/src/site/markdown/release-notes-1-3-0.md
    • -0
    • +31
    /docs/src/site/markdown/release-notes.md
    • -0
    • +58
    /docs/src/site/markdown/website.md
    • binary
    /docs/src/site/resources/images/carousel/processes.png
    • binary
    /docs/src/site/resources/images/carousel/revolution.png
    • binary
    /docs/src/site/resources/images/carousel/scale.png
    • binary
    /docs/src/site/resources/images/carousel/stack.png
    • binary
    /docs/src/site/resources/images/carousel/timeline.png
    • binary
    /docs/src/site/resources/images/logos/community.png
    • binary
    /docs/src/site/resources/images/logos/contribute.png
    • binary
    /docs/src/site/resources/images/logos/understand.png
  1. … 4 more files in changeset.
This is the first checkin for the web site update. The Maven skin has been changed with corresponding changes in the pom.xml and site.xml files. The rest is new content, which is now written in the markdown language.

[TRAFODION-1633] Fix for HBaseCient.getHbaseTableInfo throwing fpe

Fix for the failure in seabase/TEST027 with [TRAFODION-1423]

Disabled creating aligned format index with multi-column family.

    • -9
    • +13
    /core/sql/executor/HBaseClient_JNI.cpp
    • -1
    • +11
    /core/sql/sqlcomp/CmpSeabaseDDLindex.cpp
Merge [TRAFODION-1627] PR-167 sqgen doesn't copy generated files to all nodes

Merge remote branch 'origin/pr/175/head' into mrg_84

Merge remote branch 'origin/pr/173/head' into mrg_83

    • -1
    • +1
    /core/sqf/sql/scripts/install_traf_components
First phase of website update.

    • -160
    • +37
    /docs/src/site/resources/css/site.css
Adding a check for update precodegen code as well.

[TRAFODION-1423] indexes are now created in aligned format by default

The indexes row format is now independent of the table. The table

can be in format that aids in pushing down the predicates to

hbase, but the index is now created in aligned format by default.

SHOWDDL <table_name> now shows the row format of the index when it

is in aligned row format.

    • -1
    • +2
    /core/sql/generator/GenExpGenerator.cpp
    • -6
    • +6
    /core/sql/sqlcomp/CmpSeabaseDDLcommon.cpp
    • -8
    • +13
    /core/sql/sqlcomp/CmpSeabaseDDLindex.cpp
fix jira-1627: 'sqgen' cannot copy files to all nodes.

Fix for the core/TEST106 failure caused due to JIRA TRAFODION-1625

Merge [TRAFODION-1623] PR172 Installation fails

Pass current DB version to jdbc tests

This enables taking expected response from environment or command line

instead of requiring test source code to change every release.

    • -1
    • +1
    /core/sqf/sql/scripts/install_traf_components
    • -4
    • +19
    /dcs/src/test/jdbc_test/jdbc_test.py
Fix for Trafodion 1623

Merge [TRAFODION-1623] PR 171 Installation fails

[TRAFODION-1530]deprecated put.getFamilyMap

Replace project.version value with environment variable for dcs and rest

This causes warnings from maven, but is consistent with practice in

other pom files in trafodion tree to keep release version the same in

multiple components.

Reduce places to change release version in pom.xml files

Merge branch 'master' into privs

Merge remote branch 'origin/pr/169/head' into mrg_81

Update TransactionalTable.java

add import

Update SsccTransactionalTable.java

add import