You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2024/07/16 23:43:00 UTC
[jira] [Updated] (IMPALA-12589) NPE on querying external tables pointing to a single file
[ https://issues.apache.org/jira/browse/IMPALA-12589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Smith updated IMPALA-12589:
-----------------------------------
Component/s: Frontend
(was: fe)
> NPE on querying external tables pointing to a single file
> ---------------------------------------------------------
>
> Key: IMPALA-12589
> URL: https://issues.apache.org/jira/browse/IMPALA-12589
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 4.2.0, Impala 4.3.0
> Reporter: Peter Rozsa
> Assignee: Riza Suminto
> Priority: Major
> Fix For: Impala 4.4.0
>
>
> IMPALA-11507 brought in changes for relative/absolute paths, and made it impossible to query external tables pointing to a single file. HdfsPartition.getPath() returns null instead of empty path during computeEstimatedTableSize().
> Example:
> {code:java}
> create external table t1(c1 int) stored as textfile;
> insert into t1 values (1);
> show files in t1;
> <copy the file to a tmp location>
> <rm the LOCATION directory of t1>
> <cp/mv the copied file to the LOCATION path>
> invalidate metadata t1;
> select count(*) from t1; {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org