[ 
https://issues.apache.org/jira/browse/IMPALA-11156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17504848#comment-17504848
 ] 

ASF subversion and git services commented on IMPALA-11156:
----------------------------------------------------------

Commit 80307d39976c27a7ada11e7cd776a30b09a3abdc in impala's branch 
refs/heads/master from pranav.lodha
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=80307d3 ]

IMPALA-11156: TestHmsIntegration.test_desc_json_table failed in exhaustive build

The test was getting skipped as it was not in exhaustive strategy,
to fix that its been moved to TestHmsIntegrationSanity(ImpalaTestSuite)
class. Now there are two tests, test_desc_json_tbl and
test_desc_json_tbl_hive to check whether JSON tables created in
impala can be described in hive and vice versa.
Change-Id: I4ddd983aeb82817eb355ca94dcf4a6875986f8e1
Reviewed-on: http://gerrit.cloudera.org:8080/18299
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> TestHmsIntegration.test_desc_json_table failed in exhaustive build
> ------------------------------------------------------------------
>
>                 Key: IMPALA-11156
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11156
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 4.1.0
>            Reporter: Riza Suminto
>            Assignee: Pranav Yogi Lodha
>            Priority: Major
>              Labels: build-failure
>
> TestHmsIntegration.test_desc_json_table failed in exhaustive test with the 
> following errors:
> {code:java}
> metadata/test_hms_integration.py:684: in test_desc_json_table
>     expected = self.client.execute('DESC %s' % table_name)
> common/impala_connection.py:212: in execute
>     return self.__beeswax_client.execute(sql_stmt, user=user)
> beeswax/impala_beeswax.py:189: in execute
>     handle = self.__execute_query(query_string.strip(), user=user)
> beeswax/impala_beeswax.py:365: in __execute_query
>     handle = self.execute_query_async(query_string, user=user)
> beeswax/impala_beeswax.py:359: in execute_query_async
>     handle = self.__do_rpc(lambda: self.imp_service.query(query,))
> beeswax/impala_beeswax.py:522: in __do_rpc
>     raise ImpalaBeeswaxException(self.__build_error_message(b), b)
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
> E    MESSAGE: ParseException: Syntax error in line 1:
> E   DESC lyfduervsoypyviw.gfmldijspymuyeaz
> E   ^
> E   Encountered: DESC
> E   Expected: ALTER, COMMENT, COMPUTE, COPY, CREATE, DELETE, DESCRIBE, DROP, 
> EXPLAIN, GRANT, INSERT, INVALIDATE, LOAD, REFRESH, REVOKE, SELECT, SET, SHOW, 
> TRUNCATE, UPDATE, UPSERT, USE, VALUES, WITH
> E   
> E   CAUSED BY: Exception: Syntax error {code}
> This can be reproduced consistently with following command
> {code:java}
> impala-py.test --exploration=exhaustive 
> tests/metadata/test_hms_integration.py::TestHmsIntegration::test_desc_json_table
>  {code}
> It looks like the intended command should be DESCRIBE instead of DESC.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to