'unable to initiate snowflake using spark in glue

i am trying to setup aws glue etl for snowflake with exact configuration specified in the below page

aws glue etl set up for snowflake

i used the i am role that have access to all required services.

but i am getting below error

type error java package is not callable

i assume that it happens while invoking below code

spark._jvm.net.snowflake.spark.snowflake.SnowflakeConnectorUtils.enablePushdownSession(spark._jvm.org.apache.spark.sql.SparkSession.builder().getOrCreate())

what is the resolution for this error?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source