[
https://issues.apache.org/jira/browse/FLINK-24882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442579#comment-17442579
]
Ingo Bürk commented on FLINK-24882:
-----------------------------------
IMO it is a fair expectation that quoted values are case-sensitive, and
changing this is technically a breaking change.
> Make SQL format identifier NOT case-sensitive.
> ----------------------------------------------
>
> Key: FLINK-24882
> URL: https://issues.apache.org/jira/browse/FLINK-24882
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Client
> Affects Versions: 1.13.2
> Reporter: Moses
> Priority: Major
>
> If I use upper-case format identifier like below:
> {code:java}
> CREATE TABLE t_table_1 (a INT) WITH (..., 'format' = 'JSON', ...)
> {code}
> Then I got `Could not find factory ...` exception.
> {panel}
> [ERROR] Could not execute SQL statement. Reason:
> org.apache.flink.table.api.ValidationException: Could not find any factory
> for identifier 'JSON' that implements
> 'org.apache.flink.table.factories.DeserializationFormatFactory' in the
> classpath.
> Available factory identifiers are:
> avro
> canal-json
> csv
> debezium-json
> json
> maxwell-json
> raw
> {panel}
> And this can be fix with comparing them ignoring case.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)