JingsongLi commented on code in PR #972:
URL: https://github.com/apache/paimon-rust/pull/972#discussion_r4323068395
##########
crates/paimon/src/io/cache/file_type.rs:
##########
@@ -21,25 +21,60 @@ use std::collections::HashSet;
// Suffix `.{uuid}.tmp` appended by Java `Path.createTempPath()`: 1 dot +
36-char UUID + `.tmp`.
const TEMP_FILE_SUFFIX_LEN: usize = 41;
+// Keep this list aligned with the non-BLOB/non-video formats accepted by
+// `arrow::format::create_format_reader_with_budget`. Text formats also support
+// an optional compression suffix.
+const STRUCTURED_DATA_SUFFIXES: [&str; 27] = [
Review Comment:
Maybe exclusion is better.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]