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

Wenzhe Zhou commented on IMPALA-13101:
--------------------------------------

It failed in following queries in 
testdata/workloads/functional-query/queries/QueryTest/data-source-tables.test
{code:java}
---- QUERY
# Create DataSource
DROP DATA SOURCE IF EXISTS TestGenericDataSource;
CREATE DATA SOURCE TestGenericDataSource
LOCATION '$FILESYSTEM_PREFIX/test-warehouse/data-sources/test-data-source.jar'
CLASS 'org.apache.impala.extdatasource.AllTypesDataSource'
API_VERSION 'V1';
---- RESULTS
'Data source has been created.'
{code}

It seems the DataSouece ibject was not deleted by "DROP DATA SOURCE IF EXISTS 
TestGenericDataSource" statement. Maybe catalogd did not complete loading 
metadata for DataSource objects.

> test_data_source_tables fails with Data source does not exist
> -------------------------------------------------------------
>
>                 Key: IMPALA-13101
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13101
>             Project: IMPALA
>          Issue Type: Sub-task
>    Affects Versions: Impala 4.5.0
>            Reporter: Laszlo Gaal
>            Priority: Blocker
>              Labels: broken-build
>
> Traceback:
> {code}
> query_test/test_ext_data_sources.py:87: in test_data_source_tables
>     self.run_test_case('QueryTest/data-source-tables', vector, 
> use_db=unique_database)
> common/impala_test_suite.py:725: in run_test_case
>     result = exec_fn(query, user=test_section.get('USER', '').strip() or None)
> common/impala_test_suite.py:660: in __exec_in_impala
>     result = self.__execute_query(target_impalad_client, query, user=user)
> common/impala_test_suite.py:1013: in __execute_query
>     return impalad_client.execute(query, user=user)
> common/impala_connection.py:216: in execute
>     fetch_profile_after_close=fetch_profile_after_close)
> beeswax/impala_beeswax.py:191: in execute
>     handle = self.__execute_query(query_string.strip(), user=user)
> beeswax/impala_beeswax.py:382: in __execute_query
>     handle = self.execute_query_async(query_string, user=user)
> beeswax/impala_beeswax.py:376: in execute_query_async
>     handle = self.__do_rpc(lambda: self.imp_service.query(query,))
> beeswax/impala_beeswax.py:539: in __do_rpc
>     raise ImpalaBeeswaxException(self.__build_error_message(b), b)
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
> E    MESSAGE: AnalysisException: Data source does not exist: 
> testgenericdatasource
> {code}
> So far seen only in UBSAN builds.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to