Fang-Yu Rao created IMPALA-14080:
------------------------------------

             Summary: Support queries against tables in the local catalog mode
                 Key: IMPALA-14080
                 URL: https://issues.apache.org/jira/browse/IMPALA-14080
             Project: IMPALA
          Issue Type: Task
            Reporter: Fang-Yu Rao
            Assignee: Fang-Yu Rao


Currently the Calcite planner in Impala does not support queries against tables 
in the local catalog mode. Hence, we should support this. We describe how to 
reproduce the issue in the following.
{code:java}
// Start the Impala with flag '--use_calcite_planner=true' in the local catalog 
mode on the command line.
./bin/start-impala-cluster.py --use_calcite_planner=true \
'--impalad_args=--use_local_catalog' \
'--catalogd_args=--catalog_topic_mode=minimal'

// Within impala-shell, submit a query against a table to the Impala server
[localhost:21050] default> select id from functional.alltypes;
Query: select id from functional.alltypes
Query submitted at: 2025-05-15 15:37:10 (Coordinator: http://fangyu:25000)
ERROR: Query d741cf9401b3135b:d002bdbe00000000 failed:
UnsupportedFeatureException: Table functional.alltypes has unsupported type 
LocalFsTable. The Calcite planner only supports HdfsTable's and View's.
{code}



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

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

Reply via email to