You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "eugen yushin (Jira)" <ji...@apache.org> on 2025/10/28 11:15:00 UTC

[jira] [Commented] (SPARK-54056) Enable substitution for SQLConf settings

    [ https://issues.apache.org/jira/browse/SPARK-54056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033524#comment-18033524 ] 

eugen yushin commented on SPARK-54056:
--------------------------------------

PR: https://github.com/apache/spark/pull/52759

> Enable substitution for SQLConf settings
> ----------------------------------------
>
>                 Key: SPARK-54056
>                 URL: https://issues.apache.org/jira/browse/SPARK-54056
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.0.1
>            Reporter: eugen yushin
>            Priority: Major
>
> Values set for custom catalogs are not being substituted:
> ```
> spark.sql.catalog.mssql=org.apache.spark.sql.execution.datasources.v2.jdbc.JDBCTableCatalog
> spark.sql.catalog.mssql.user=${env:MSSQL__USER}
> ```
> Fails with:
> ```
> spark.sql("show tables in mssql").show()
> com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user '${env:MSSQL__USER}'
> ```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org