phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajeshbabu Chintaguntla (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-3643) Not able resolve columns in predicate while querying views in Phoenix-Calcite
Date Wed, 01 Feb 2017 14:22:51 GMT
Rajeshbabu Chintaguntla created PHOENIX-3643:
------------------------------------------------

             Summary: Not able resolve columns in predicate while querying views in Phoenix-Calcite
                 Key: PHOENIX-3643
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3643
             Project: Phoenix
          Issue Type: Sub-task
            Reporter: Rajeshbabu Chintaguntla
            Assignee: Rajeshbabu Chintaguntla


There are around 180 queries failing "Column x not found in any table" while resolving columns
in the view query predicates.
{noformat}
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 6.657 sec <<< FAILURE!
- in org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest
testOrderByOptimizedOutWithoutPredicateInView(org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest)
 Time elapsed: 1.024 sec  <<< ERROR!
java.sql.SQLException: Error while executing SQL "EXPLAIN SELECT * FROM v1 ORDER BY k1, k2,
k3": From line 1, column 35 to line 1, column 36: Column 'K1' not found in any table
	at org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest.assertExplainPlanIsCorrect(TenantSpecificViewIndexCompileTest.java:249)
	at org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest.testOrderByOptimizedOutWithoutPredicateInView(TenantSpecificViewIndexCompileTest.java:70)
Caused by: org.apache.calcite.runtime.CalciteContextException: From line 1, column 35 to line
1, column 36: Column 'K1' not found in any table
	at org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest.assertExplainPlanIsCorrect(TenantSpecificViewIndexCompileTest.java:249)
	at org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest.testOrderByOptimizedOutWithoutPredicateInView(TenantSpecificViewIndexCompileTest.java:70)
Caused by: org.apache.calcite.sql.validate.SqlValidatorException: Column 'K1' not found in
any table
	at org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest.assertExplainPlanIsCorrect(TenantSpecificViewIndexCompileTest.java:249)
	at org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest.testOrderByOptimizedOutWithoutPredicateInView(TenantSpecificViewIndexCompileTest.java:70)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message