[
https://issues.apache.org/jira/browse/SPARK-58352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiao Li updated SPARK-58352:
----------------------------
Summary: Migrate _LEGACY_ERROR_TEMP_2070 to WRITING_JOB_FAILED (was:
Migrate _LEGACY_ERROR_TEMP_1141 to MULTIPLE_DATA_SOURCES_FOUND)
> Migrate _LEGACY_ERROR_TEMP_2070 to WRITING_JOB_FAILED
> -----------------------------------------------------
>
> Key: SPARK-58352
> URL: https://issues.apache.org/jira/browse/SPARK-58352
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.2.0
> Reporter: Xiao Li
> Priority: Major
> Labels: pull-request-available
>
> Migrates the legacy error class {{_LEGACY_ERROR_TEMP_1141}} to the structured
> error
> framework
> This error ("Multiple sources found for {{<provider>}}
> ({{{}<sourceNames>{}}}), please specify the
> fully qualified class name.") is thrown by
> {{QueryCompilationErrors.findMultipleDataSourceError}} when a short data
> source name
> resolves to more than one registered provider class.
> * Introduces a new named structured condition {{MULTIPLE_DATA_SOURCES_FOUND}}
> (SQLSTATE {{{}42710{}}}, matching the sibling
> {{{}DATA_SOURCE_ALREADY_EXISTS{}}}), keeping the
> {{{}provider{}}}/{{{}sourceNames{}}} parameters and message text unchanged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]