You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2019/08/16 23:01:47 UTC

[impala] 02/03: IMPALA-8847: Fix test_event_processing.py on Hive-3

This is an automated email from the ASF dual-hosted git repository.

tarmstrong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 70b0492e6b0322ec5b673a2ab20e02d9e35d0a93
Author: Vihang Karajgaonkar <vi...@apache.org>
AuthorDate: Fri Aug 16 10:16:23 2019 -0700

    IMPALA-8847: Fix test_event_processing.py on Hive-3
    
    The test_event_processing fails on Hive-3 due to a error in the syntax of the
    hive query for transactional tables. It was missed unfortunately when
    IMPALA-8847 was merged.
    
    Testing done:
    Ran the test on both Hive-2 and Hive-3 and it passes now
    
    Change-Id: I6507540bfbc0d131a061865ed9ed94792ccfa758
    Reviewed-on: http://gerrit.cloudera.org:8080/14082
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
    Reviewed-by: Vihang Karajgaonkar <vi...@cloudera.com>
---
 tests/custom_cluster/test_event_processing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/custom_cluster/test_event_processing.py b/tests/custom_cluster/test_event_processing.py
index f099978..9605381 100644
--- a/tests/custom_cluster/test_event_processing.py
+++ b/tests/custom_cluster/test_event_processing.py
@@ -150,7 +150,7 @@ class TestEventProcessing(CustomClusterTestSuite):
            "'transactional_properties'='insert_only')"
     test_tbl = unique_database + ".test_events"
     self.run_stmt_in_hive("create table {0} (key string, value string) \
-      partitioned by (year int) {1} stored as parquet".format(test_tbl, TBLPROPERTIES))
+      partitioned by (year int) stored as parquet {1}".format(test_tbl, TBLPROPERTIES))
     EventProcessorUtils.wait_for_event_processing(self.hive_client)
     self.client.execute("describe {0}".format(test_tbl))