[ 
https://issues.apache.org/jira/browse/SPARK-54056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated SPARK-54056:
----------------------------------
    Parent Issue: SPARK-54248  (was: SPARK-51166)

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



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to