Hi there,

org.apache.flink.table.api.DataTypes allows the creation of temporal data
types by specifying precision (e.g. TIME(3)) or omitting it (TIME()). The
ability to omit precision for temporal types was introduced in
apache/flink@36fef44
<https://github.com/apache/flink/commit/36fef4457a7f1de47989c8a2485581bcf8633b32>
.

Unfortunately, this isn't possible for other data types (e.g. CHAR, DECIMAL).
Even though they define defaults for length, precision, and scale, their
values have to be passed to the method explicitly.

Would a PR be accepted which will introduce the methods for the remaining
types similar to the temporal ones?

Thanks.

Reply via email to