In Sagemaker Jupyter instance - R Kernal.
In Spark_read_csv function though below error after we have upgraded the spark version to 3.0.1 & Hadoop version to 2.7.