xiaotianzhang01 commented on a change in pull request #3545:
URL: https://github.com/apache/iceberg/pull/3545#discussion_r753654805
##########
File path:
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/Spark3Util.java
##########
@@ -301,7 +302,9 @@ public static Term toIcebergTerm(Expression expr) {
Transform transform = (Transform) expr;
Preconditions.checkArgument(transform.references().length == 1,
"Cannot convert transform with more than one column reference: %s",
transform);
- String colName = DOT.join(transform.references()[0].fieldNames());
+ List<String> fieldNames =
Arrays.stream(transform.references()[0].fieldNames())
+ .map(Spark3Util::toIcebergField).collect(Collectors.toList());
Review comment:
done
--
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]