rokity commented on issue #5384:
URL: https://github.com/apache/iceberg/issues/5384#issuecomment-1923639270

   @sanromeo  @MoveLiu  Before to create the tempview in pyspark we must to 
sort the dataframe by partitions specified on sql query. 
   ```python
   df = df.repartition(*prt_cols).sortWithinPartitions(*prt_cols) 
   df.createOrReplaceTempView(tmp_name)
   ```


-- 
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-unsubscr...@iceberg.apache.org

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


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

Reply via email to