You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/01/27 04:57:49 UTC

[GitHub] [iceberg] zhangjun0x01 opened a new issue #2161: Spark : list Avro format partition error in SparkTableUtil

zhangjun0x01 opened a new issue #2161:
URL: https://github.com/apache/iceberg/issues/2161


   In method `org.apache.iceberg.spark.SparkTableUtil#listAvroPartition` ,when we list the file to structure `DataFile`,the  `recordCount` is missing, the `recordCount` of `Metrics` is -1, and also not be set by `DataFiles.builder(spec).withRecordCount()`,but the recordCount is required.
   
   `org.apache.iceberg.DataFiles.Builder#build` method will check the recordCount
   ```
   Preconditions.checkArgument(recordCount >= 0, "Record count is required");
   ```


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] szehon-ho closed issue #2161: Spark : list Avro format partition error in SparkTableUtil

Posted by GitBox <gi...@apache.org>.
szehon-ho closed issue #2161:
URL: https://github.com/apache/iceberg/issues/2161


   


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] szehon-ho closed issue #2161: Spark : list Avro format partition error in SparkTableUtil

Posted by GitBox <gi...@apache.org>.
szehon-ho closed issue #2161:
URL: https://github.com/apache/iceberg/issues/2161


   


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] szehon-ho commented on issue #2161: Spark : list Avro format partition error in SparkTableUtil

Posted by GitBox <gi...@apache.org>.
szehon-ho commented on issue #2161:
URL: https://github.com/apache/iceberg/issues/2161#issuecomment-1020425579


   This issue fixed by linked PR


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] szehon-ho commented on issue #2161: Spark : list Avro format partition error in SparkTableUtil

Posted by GitBox <gi...@apache.org>.
szehon-ho commented on issue #2161:
URL: https://github.com/apache/iceberg/issues/2161#issuecomment-1020425579


   This issue fixed by linked PR


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org