You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Qifan Chen (JIRA)" <ji...@apache.org> on 2015/12/07 21:27:11 UTC

[jira] [Created] (TRAFODION-1679) Assertion happens with meta-data cache during OSIM loading

Qifan Chen created TRAFODION-1679:
-------------------------------------

             Summary: Assertion happens with meta-data cache during OSIM loading
                 Key: TRAFODION-1679
                 URL: https://issues.apache.org/jira/browse/TRAFODION-1679
             Project: Apache Trafodion
          Issue Type: Bug
          Components: sql-cmp
            Reporter: Qifan Chen


Basically, we need to do the following to successfully load an OSIM involving 35 joins. It will be an interesting exercise to see how meta-data cache mis-behaves :-). 

diff --git a/core/sql/optimizer/NATable.cpp b/core/sql/optimizer/NATable.cpp
index 524b4e5..02a5a85 100644
--- a/core/sql/optimizer/NATable.cpp
+++ b/core/sql/optimizer/NATable.cpp
@@ -8322,7 +8322,7 @@ NATable * NATableDB::get(CorrName& corrName, BindWA * bindWA,
           //was not able to get cache size below
           //max allowed cache size
           #ifndef NDEBUG
-          CMPASSERT(FALSE);
+         // CMPASSERT(FALSE);
           #endif
         }
       }




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)