Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24882

Make SQL format identifier NOT case-sensitive.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.13.2
    • None
    • Table SQL / Client
    • None

    Description

      If I use upper-case format identifier like below:

      CREATE TABLE t_table_1 (a INT) WITH (..., 'format' = 'JSON', ...)
      

      Then I got `Could not find factory ...` exception.

      [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

      And this can be fix with comparing them ignoring case.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ZhangChaoming Moses
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: