Github user JamesRTaylor commented on a diff in the pull request:
https://github.com/apache/incubator-phoenix/pull/31#discussion_r11862579
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/compile/QueryCompiler.java ---
@@ -290,6 +292,9 @@ protected BasicQueryPlan
compileSingleQuery(StatementContext context, SelectStat
ColumnResolver resolver = context.getResolver();
TableRef tableRef = context.getCurrentTable();
PTable table = tableRef.getTable();
+ if (table.getType() == PTableType.SUBQUERY)
+ throw new SQLFeatureNotSupportedException("Complex nested
queries not supported.");
--- End diff --
Same comment here - can you add a code comment and JIRA for this? An
example query that would produce this exception would be helpful too.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---