A Flink SQL table has DDL that defines the table schema, we can use that to infer the Avro schema and there is no need to declare a Avro schema explicitly anymore. But we still keep the config option for explicit Avro schema in case there is corner cases that the inferred schema is not correct (especially for the nullability).