[ https://issues.apache.org/jira/browse/TRAFODION-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335750#comment-15335750 ]
ASF GitHub Bot commented on TRAFODION-1128: ------------------------------------------- GitHub user kevinxu021 opened a pull request: https://github.com/apache/incubator-trafodion/pull/549 [TRAFODION-1128]Remove current catalog& schema check Have check the code context that it's useless to check current catalog and schema. As the comments, it's used for alter table but it has nothing about current catalog and schema against my testing. You can merge this pull request into a Git repository by running: $ git pull https://github.com/kevinxu021/incubator-trafodion traf-1128 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafodion/pull/549.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #549 ---- commit bce635be74caf30a781891f5f077fd68d48c000a Author: Kevin Xu <kaihua...@esgyn.cn> Date: 2016-06-17T08:45:52Z Remove current catalog& schema check ---- > LP Bug: 1439779 - Internal error when load command is used on non-default > schema > -------------------------------------------------------------------------------- > > Key: TRAFODION-1128 > URL: https://issues.apache.org/jira/browse/TRAFODION-1128 > Project: Apache Trafodion > Issue Type: Bug > Components: sql-cmp > Reporter: Suresh Subbiah > Assignee: Kevin Xu > Fix For: 2.1-incubating > > > set schema sch ; > >>load into G_TPCH2X.customer1 select * from hive.hive.customer ; > .. > Task: LOAD Status: Started Object: TRAFODION.G_TPCH2X.CUSTOMER1 > Task: CLEANUP Status: Started Object: TRAFODION.G_TPCH2X.CUSTOMER1 > Task: CLEANUP Status: Ended Object: TRAFODION.G_TPCH2X.CUSTOMER1 > Task: DISABLE INDEXE Status: Started Object: TRAFODION.G_TPCH2X.CUSTOMER1 > *** ERROR[2006] Internal error: assertion failure (schemaNamePart == > currSchName) in file at line -99999. > Problem is easy to reproduce and should happen with any table. If the source > table is on a schema that is different from the current default schema then > this error is seen. > It is interesting to note that the following statement does NOT raise this > error > >>load with no populate indexes into G_TPCH2X.customer1 select * from > hive.hive.customer ; > Task: LOAD Status: Started Object: TRAFODION.G_TPCH2X.CUSTOMER1 > Task: CLEANUP Status: Started Object: TRAFODION.G_TPCH2X.CUSTOMER1 > Task: CLEANUP Status: Ended Object: TRAFODION.G_TPCH2X.CUSTOMER1 > Task: PREPARATION Status: Started Object: TRAFODION.G_TPCH2X.CUSTOMER1 > .... -- This message was sent by Atlassian JIRA (v6.3.4#6332)