[GitHub] incubator-trafodion pull request: TRAFODION-1595 Privilege manager...

2016-01-29 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/290


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request: support vanilla hbase 0.98.10

2016-01-29 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/275


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request:

2016-01-29 Thread arvind-narain
Github user arvind-narain commented on the pull request:


https://github.com/apache/incubator-trafodion/commit/77581c107ea4b8dc650e7c4c130c9a94607e66f5#commitcomment-15775925
  
Sorry - wrong parameters to a script used to merge - so ignore "TRAFODION-" 
in the JIRA id. Code merged.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request: [TRAFODION-1791] UPSERT with bar...

2016-01-29 Thread zellerh
Github user zellerh commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/291#discussion_r51333778
  
--- Diff: core/sql/optimizer/NormRelExpr.cpp ---
@@ -7050,8 +7077,8 @@ void RelRoot::recomputeOuterReferences()
   child(0)->getGroupAttr()->getCharacteristicInputs().
   getLeafValuesForCoverTest(leafValues, emptyGA, emptySet);
   CMPASSERT((getGroupAttr()->getCharacteristicInputs().contains
-(child(0)->getGroupAttr()->getCharacteristicInputs())) || 
-(getGroupAttr()->getCharacteristicInputs().contains 
(leafValues)));
+(child(0)->getGroupAttr()->getCharacteristicInputs())) || 
--- End diff --

You can add this to your ~/.emacs file:

(setq-default indent-tabs-mode nil)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request: [TRAFODION-1791] UPSERT with bar...

2016-01-29 Thread sureshsubbiah
Github user sureshsubbiah commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/291#discussion_r51330150
  
--- Diff: core/sql/regress/executor/EXPECTED015.SB ---
@@ -1721,4 +1799,70 @@ AB C
 
 --- 1 row(s) selected.
 >>
+>>-- guarding against error 7000 and compiler asserts
+>>prepare s1 from UPSERT INTO DEC1 
++>(ID, codeValue, title , description, path, synonyms, objectClassCode, 
propertyCode)  
++>VALUES  (NVL((select a.id from DEC1 a where a.codeValue = ?a[10]), 
DEFAULT), 
++>?b[10], ?c[10], ?d[10], ?e[10], null, ?f[10], null) ;
+
+--- SQL command prepared.
+>>
+>>prepare s2 from UPSERT INTO DEC1 
++>(ID, codeValue, title , description, path, synonyms, objectClassCode, 
propertyCode)  
++>VALUES  (?a, ?b, ?c, ?d, ?e, null, ?f, null) ;
+
+--- SQL command prepared.
+>>
+>>prepare s3 from UPSERT INTO DEC1 
++>(ID, codeValue, title , description, path, synonyms, objectClassCode, 
propertyCode)  
++>VALUES  (NVL((select a.id from DEC1 a where a.codeValue = ?a), DEFAULT), 
++>?b, ?c, ?d, ?e, null, ?f, null) ;
+
+--- SQL command prepared.
+>>
+>>prepare s4 from UPSERT INTO DE 
++>(ID, dataElementConceptID, valueDomainID)  VALUES  
++>(NVL((select a.id from DE a where a.dataElementConceptID = 
++>(select b.id from DEC1 b where b.codeValue = ?) and a.valueDomainID = ? 
), DEFAULT),  
++>NVL((select d.id from DEC1 d where d.codeValue = ?), NULL),  ? ) ;
+
+--- SQL command prepared.
+>>
+>>prepare s5 from UPSERT INTO ODT 
++>(ID, objectTypeID, dataElementID, objectCategoryTypeCode)  
++>VALUES  (NVL((select a.id from ODT a where a.objectTypeID = 
++>(select b.id from OT b where b.objectCode = ? and b.version = ?) and  
++>a.objectCategoryTypeCode = ? and  a.dataElementID = 
++>(select d.id from DE d where d.dataElementConceptID = 
++>(select e.id from DEC1 e where e.codeValue = ?) and d.valueDomainID = ? 
) ), DEFAULT), 
++>NVL((select g.id from OT g where g.objectCode = ? and g.version = ?), 
NULL),   
++>NVL((select h.id from DE h where h.dataElementConceptID = 
++>(select i.id from DEC1 i where i.codeValue = ?) and h.valueDomainID = ? 
), NULL), ? );
+
+--- SQL command prepared.
+>>
+>>prepare s6 from UPSERT INTO DE 
++>(ID, dataElementConceptID, valueDomainID)  VALUES  
++>(NVL((select a.id from DE a where a.dataElementConceptID = 
++>(select b.id from DEC1 b where b.codeValue = ?) and a.valueDomainID = ? 
), DEFAULT),  
++>(select d.id from DEC1 d where d.codeValue = ?),  ? ) ;
+
+--- SQL command prepared.
+>>
+>>prepare s7 from UPSERT INTO DE (ID, dataElementConceptID, valueDomainID) 
 
++>VALUES  (1,  (select d.id from DEC1 d where d.codeValue = ?),  3 ) ;
+
+--- SQL command prepared.
+>>
+>>prepare s8 from UPSERT INTO DE (ID, dataElementConceptID, valueDomainID) 
 
++>VALUES  (?[10], ?[10], ?[10] ) ;
+
+--- SQL command prepared.
+>>
+>>prepare s9 from UPSERT INTO DE (ID, dataElementConceptID, valueDomainID) 
 
++>VALUES  (1,  (select d.id from DEC1 d where d.codeValue = 'aa'),  3 ) ;
+
--- End diff --

Will make this change in my next delivery.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request: Many bug fixes for Installer. Al...

2016-01-29 Thread hegdean
Github user hegdean commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/274#discussion_r51331627
  
--- Diff: install/installer/traf_config_setup ---
@@ -528,7 +555,7 @@ echo "export 
DCS_PRIMARY_MASTER_NODE=\"$DCS_PRIMARY_MASTER_NODE\"" >> $LOCAL_TRA
 #==
 #Enable HA
 
-echo -n "Enable High Availability (Y/N), default is N: "
+echo -n "Enable High Avalability (Y/N), default is N: "
--- End diff --

Typo for Availability


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request: Many bug fixes for Installer. Al...

2016-01-29 Thread hegdean
Github user hegdean commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/274#discussion_r51333079
  
--- Diff: install/installer/trafodion_install ---
@@ -718,7 +761,7 @@ if [[ "$LDAP_SECURITY" == "Y" ]]; then
   $TRAF_PDSH sudo chmod 750 $HOME_DIR/$TRAF_USER/$LDAP_AUTH_FILE
   if [[ $LDAP_LEVEL == "2" ]] || [[ $LDAP_LEVEL == "1" ]]; then
  echo "***INFO: Copying $LDAP_CERT to Trafodion home dir"
- $TRAF_PDCP $LDAP_CERT $HOME
+ $TRAF_PCP $LDAP_CERT $HOME
--- End diff --

This should be TRAF_PDCP


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request: Add DCSMaster status to sqcheck ...

2016-01-29 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/295


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request: Additional changes for JIRA [TRA...

2016-01-29 Thread sbroeder
Github user sbroeder closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/296


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---