Moses created FLINK-24882:
-----------------------------

             Summary: 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


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 compare them ignoring case.




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to