Hi @Kaniz Fatma​ ,

 With R version 4.1.2, Spark version 2.4.5 and arrow version 5.0.0. The issue got fixed.

View solution in original post