Riza Suminto created IMPALA-11156:
-------------------------------------

             Summary: 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
            Reporter: Riza Suminto


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