Csaba Ringhofer has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18768
Change subject: IMPALA-11447: Fix crash when fetching arrays/structs with result caching ...................................................................... IMPALA-11447: Fix crash when fetching arrays/structs with result caching Some parts of HS2ColumnarResultSet were not prepared for returning non-scalar types. This code only runs if impala.resultset.cache.size is set, which is not the case in most of tests. The issue was caught with Hue, which uses result caching. Testing: - Added a regression test in test_fetch_first.py, which contained other tests that used result caching. - It turned out that some tests in the file did not run at all, as @needs_session() needs the parenthesis at the end. For this reason some test fixes were added to run them correctly, though these changes are totally unrelated to the current issue. Change-Id: Ia4dd8f76187dc3555207e2d30d46d811e0a7a126 --- M be/src/service/query-result-set.cc M tests/hs2/test_fetch_first.py 2 files changed, 50 insertions(+), 25 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/68/18768/1 -- To view, visit http://gerrit.cloudera.org:8080/18768 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ia4dd8f76187dc3555207e2d30d46d811e0a7a126 Gerrit-Change-Number: 18768 Gerrit-PatchSet: 1 Gerrit-Owner: Csaba Ringhofer <[email protected]>
