uni 2016 10:06
> *An: *dev@flink.apache.org
> *Betreff: *Re: primitiveDefaultValue in CodeGenUtils in Table API
>
>
>
> @Fabian,
>
> given the example that a user wants to sum a column whose value might be
>
> null, with null check enabled. In this case, when the column value is null,
>
@Fabian,
given the example that a user wants to sum a column whose value might be
null, with null check enabled. In this case, when the column value is null,
-1 is set instead? Am I understanding correctly?
On Wed, Jun 29, 2016 at 3:28 PM, Timo Walther wrote:
> Hi Cody,
>
> default values are n
Hi Cody,
default values are needed in cases where NULL values are not supported.
This happens if the null check is disabled in TableConfig for efficiency
reasons. Using 0 to DataType.MAX_VALUE for numeric types and -1 as a
NULL equivalent in special cases seems more reasonable to me.
Hope th