brkyvz commented on code in PR #585:
URL: https://github.com/apache/parquet-format/pull/585#discussion_r3501508360


##########
src/main/thrift/parquet.thrift:
##########
@@ -468,6 +468,21 @@ struct GeographyType {
   2: optional EdgeInterpolationAlgorithm algorithm;
 }
 
+/**
+ * File logical type annotation
+ *
+ * Annotates a group that represents a reference to an external file.
+ * The group must contain the following fields identified by name:
+ *   - path (STRING, required): an opaque string path to the file (e.g. 
s3://bucket/file.jpg)
+ *   - size (INT64, optional): the length of the content in bytes; must be 
zero or positive
+ *   - offset (INT64, optional): byte offset for range reads; if provided, 
size must also be provided
+ *   - etag (STRING, optional): eTag from the storage system for staleness 
detection

Review Comment:
   We chose ETag since it's a standard HTTP convention. I do think content-type 
makes sense as well, but we had removed it and maybe are considering adding it 
back.



-- 
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]


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

Reply via email to