mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-7779 Parquet Scanner can write binary data into profile
This fix addresses the current limitation in that an ill-formatted Parquet version string is not properly formatted before appearing in an error message or impalad.INFO. With the fix, any such string is converted to a hex string first. The hex string is a sequence of four hex digit groups separated by spaces and each group is one or two hex digits, such as "6c 65 2e a". Testing: Ran "core" tests successfully. Change-Id: I281d6fa7cb2f88f04588110943e3e768678b9cf1 Reviewed-on: http://gerrit.cloudera.org:8080/16331 Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Reviewed-by: Sahil Takiar <stakiar@cloudera.com>
This commit is contained in:
@@ -193,7 +193,7 @@ error_codes = (
|
||||
"Try running \\\"refresh $1\\\" to reload the file metadata."),
|
||||
|
||||
("PARQUET_BAD_VERSION_NUMBER", 60, "File '$0' has an invalid Parquet version number: "
|
||||
"$1\\n. Please check that it is a valid Parquet file. "
|
||||
"$1.\\nPlease 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\\\"."),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user