mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-8885: Improve Parquet version metadata error
Update the error message to make it more obvious that the error could occur by trying to parse a non-Parquet file as Parquet Updated tests that depended on the error test. Change-Id: I2b36586dba14a31a613d79a0e28efc9a5173e75d Reviewed-on: http://gerrit.cloudera.org:8080/14126 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
9874ce37a9
commit
af0e04f33b
@@ -192,8 +192,10 @@ error_codes = (
|
||||
("STALE_METADATA_FILE_TOO_SHORT", 59, "Metadata for file '$0' appears stale. "
|
||||
"Try running \\\"refresh $1\\\" to reload the file metadata."),
|
||||
|
||||
("PARQUET_BAD_VERSION_NUMBER", 60, "File '$0' has an invalid version number: $1\\n"
|
||||
"This could be due to stale metadata. Try running \\\"refresh $2\\\"."),
|
||||
("PARQUET_BAD_VERSION_NUMBER", 60, "File '$0' has an invalid Parquet version number: "
|
||||
"$1\\n. Please check that it is a valid Parquet file. "
|
||||
"This error can also occur due to stale metadata. "
|
||||
"If you believe this is a valid Parquet file, try running \\\"refresh $2\\\"."),
|
||||
|
||||
("SCANNER_INCOMPLETE_READ", 61, "Tried to read $0 bytes but could only read $1 bytes. "
|
||||
"This may indicate data file corruption. (file $2, byte offset: $3)"),
|
||||
|
||||
Reference in New Issue
Block a user