stevenzwu commented on code in PR #10496:
URL: https://github.com/apache/iceberg/pull/10496#discussion_r1687198592
##########
api/src/main/java/org/apache/iceberg/StructTransform.java:
##########
@@ -125,6 +151,11 @@ public int hashCode() {
return Arrays.hashCode(transformedTuple);
}
+ /** Return the schema of transformed result (a flattened structure) */
+ public Schema resultSchema() {
Review Comment:
> Maybe I can just extract List<Type> resultTypes from the
List<FieldTransform> fieldTransforms
Yeah, this should be doable. I can construct the schema with artificial
field ids and names at the caller side. I can move the logic here inside Flink
module for `SortOrder`.
--
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]