huaxingao commented on code in PR #6923:
URL: https://github.com/apache/iceberg/pull/6923#discussion_r1117806725
##########
spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/source/SparkLocalScan.java:
##########
@@ -32,10 +33,14 @@ class SparkLocalScan implements LocalScan {
private final StructType readSchema;
private final InternalRow[] rows;
Review Comment:
removed
##########
spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/source/SparkLocalScan.java:
##########
@@ -50,8 +55,13 @@ public StructType readSchema() {
@Override
public String description() {
- String fields =
-
Arrays.stream(readSchema.fields()).map(StructField::name).collect(Collectors.joining(",
"));
- return String.format("%s [%s]", table, fields);
+ return String.format("%s [filters=%s]", table,
Spark3Util.describe(filterExpressions));
+ }
+
+ @Override
+ public String toString() {
+ return String.format(
+ "IcebergScan(table=%s, type=%s, filters=%s)",
Review Comment:
Fixed. Thanks
--
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]