Hello Sergei!

The proposal makes a lot of sense, and Martijn is right as well.
Are you willing to drive the FLIP effort?
Do you need any assistance with that?
On Mar 4, 2024 at 01:48 +0100, Martijn Visser <martijnvis...@apache.org>, wrote:
> Hi,
>
> I think it would first require a FLIP, given it touches on the core type
> system of SQL.
>
> Best regards,
>
> Martijn
>
> On Sat, Mar 2, 2024 at 5:34 PM Sergei Morozov <moro...@tut.by> wrote:
>
> > 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