cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Lakebridge Reconcile Config not supporting "sfAuthenticator" for Snowflake

dbr_data_engg
New Contributor III

User is getting below error.
Py4JJavaError: An error occurred while calling o508.load. : net.snowflake.client.jdbc.SnowflakeSQLException: Incorrect username or password was specified.

https://github.com/databrickslabs/lakebridge/blob/201f9b7cae5ae45583540d10be95a1980c5a7d94/src/datab...

While I tried with plain python code using sfAuthenticator , it is working but with Lakebridge it is not working.

 

@Waldar  #lakebridge

2 REPLIES 2

jameswood32
Contributor

It seems the issue lies in the way Lakebridge is handling the Snowflake authentication, particularly with the sfAuthenticator parameter. While the plain Python code works, Lakebridge might not be correctly passing the necessary configuration for Snowflake authentication. Ensure that you're passing all required credentials properly, including sfAuthenticator, in the Lakebridge configuration. Also, check for any potential compatibility issues between the library version you're using and Snowflake's authentication methods. It might help to check the specific documentation or GitHub issues related to Lakebridge and Snowflake authentication to see if there are any known limitations or required workarounds for this integration.

James Wood

I Checked their code already and do not see any parameter passed as "sfAuthenticator".

Already logged issue on github for same,

Lakebridge Reconcile Config not supporting "sfAuthenticator" for Snowflake · Issue #2338 · databrick...