[
https://issues.apache.org/jira/browse/IMPALA-15215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18107596#comment-18107596
]
ASF subversion and git services commented on IMPALA-15215:
----------------------------------------------------------
Commit 07e9fad26c4766e36cc737c84886671cce1fa6c0 in impala's branch
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=07e9fad26 ]
IMPALA-15215: Fix S3PlannerTest.testNestedCollections
S3PlannerTest.testNestedCollections uses nested-collections.test
which doesn't expect automatic expansion of complex types. The
same test file is being used in PlannerTest.testNestedCollections
where we explicitly turn of complex type expansion. This patch
applies the same to S3PlannerTest.testNestedCollections.
Testing
* run the test in S3 env
Change-Id: Ib4f411d966cc2c66a3f6f9d59e5e007f617b71c3
Reviewed-on: http://gerrit.cloudera.org:8080/24727
Reviewed-by: Arnab Karmakar <[email protected]>
Reviewed-by: Peter Rozsa <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> S3PlannerTest.testNestedCollections failing with "Querying STRUCT is only
> supported for ORC and Parquet file formats."
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: IMPALA-15215
> URL: https://issues.apache.org/jira/browse/IMPALA-15215
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 5.0.0
> Reporter: Joe McDonnell
> Assignee: Zoltán Borók-Nagy
> Priority: Blocker
> Labels: broken-build
>
> The s3 job is failing on S3PlannerTest.testNestedCollections:
> {noformat}
> Query:
> select *
> from functional.allcomplextypes a
> inner join a.int_array_col b
> left outer join functional.alltypessmall c on (b.item = c.id)
> inner join a.int_map_col d
> left semi join functional.alltypes e on (d.value = e.id)
> where b.item < 10 and c.int_col > 30
> Error Stack:
> org.apache.impala.common.AnalysisException: Querying STRUCT is only supported
> for ORC and Parquet file formats.
> at
> org.apache.impala.analysis.SlotRef.checkFileFormatSupportsStruct(SlotRef.java:254)
> at
> org.apache.impala.analysis.SlotRef.checkForUnsupportedStructFeatures(SlotRef.java:229)
> at
> org.apache.impala.analysis.SelectStmt$SelectAnalyzer.addStarExpandedPathResultExpr(SelectStmt.java:992)
> at
> org.apache.impala.analysis.SelectStmt$SelectAnalyzer.analyzeStarItem(SelectStmt.java:580)
> at
> org.apache.impala.analysis.SelectStmt$SelectAnalyzer.analyzeSelectClause(SelectStmt.java:558)
> at
> org.apache.impala.analysis.SelectStmt$SelectAnalyzer.analyze(SelectStmt.java:340)
> at org.apache.impala.analysis.SelectStmt.analyze(SelectStmt.java:276)
> at
> org.apache.impala.analysis.AnalysisContext$AnalysisDriverImpl.analyze(AnalysisContext.java:572)
> at
> org.apache.impala.analysis.AnalysisContext.analyzeAndAuthorize(AnalysisContext.java:503)
> at org.apache.impala.service.Frontend.doCreateExecRequest(Frontend.java:3070)
> at org.apache.impala.service.Frontend.getTExecRequest(Frontend.java:2625)
> at
> org.apache.impala.service.Frontend.getTExecRequestWithFallback(Frontend.java:2470)
> at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:2153)
> at
> org.apache.impala.planner.PlannerTestBase.testPlan(PlannerTestBase.java:558)
> at
> org.apache.impala.planner.PlannerTestBase.runTestCase(PlannerTestBase.java:459)
> at
> org.apache.impala.planner.PlannerTestBase.runPlannerTestFile(PlannerTestBase.java:990)
> at
> org.apache.impala.planner.PlannerTestBase.runPlannerTestFile(PlannerTestBase.java:1016)
> at
> org.apache.impala.planner.S3PlannerTest.testNestedCollections(S3PlannerTest.java:110){noformat}
> This fails consistently. One suspect would be
> https://issues.apache.org/jira/browse/IMPALA-15054 , which went in recently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]