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

Moses commented on FLINK-24882:
-------------------------------

[~airblader] I agree with you that quoted-values are case-sensitive is a fair 
expectation. But ignoring case-sensitive in some general identifier value for 
'connector' and 'format' will make SQL Client easier to use.

> 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)

Reply via email to