singhpk234 opened a new pull request, #4720:
URL: https://github.com/apache/iceberg/pull/4720

   Closes https://github.com/apache/iceberg/issues/4718
   
   As per my understanding, we should use scan.tableSchema() rather than 
scan.schema() for transformSpec when planFiles() for partitions metaData table. 
   
   Hence we faced :
   > 22/05/06 16:12:25 ERROR SparkSQLDriver: Failed in [select file_count from 
spark_catalog.monitoring.test.partitions]
   java.lang.IllegalArgumentException: Cannot find source column: partition.date
   
   as present in reported ticket
   
   Though in master we will get : 
   
   >Cannot find source column: 1000
   java.lang.NullPointerException: Cannot find source column: 1000
   
   ---
   
   Testing Done : 
   Added UT fails without the change
   
   cc @szehon-ho @RussellSpitzer 


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