Re: Inconsistent documentation of Table Conditional functions

2019-05-09 Thread Flavio Pompermaier
Ok, thanks a lot for the clarification! Adding an "Example" on the right of
"Description" would be very helpful (IMHO)

Best,
Flavio

On Wed, May 8, 2019 at 6:19 PM Xingcan Cui  wrote:

> Hi Flavio,
>
> In the description, resultX is just an identifier for the result of the
> first meeting condition.
>
> Best,
> Xingcan
>
> On May 8, 2019, at 12:02 PM, Flavio Pompermaier 
> wrote:
>
> Hi to all,
> in the documentation of the Table Conditional functions [1] the example is
> inconsistent with the related description (there's no resultX for example).
> Or am I wrong?
>
> [1]
> https://ci.apache.org/projects/flink/flink-docs-release-1.8/dev/table/functions.html#conditional-functions
>
>
>


Re: Inconsistent documentation of Table Conditional functions

2019-05-08 Thread Rong Rong
Hi Flavio,

I believe the documentation meant "X" as a placeholder, where you can
convert "X" into the numeric values (1, 2, ...) depends on how many "CASE
WHEN" conditions you have.
*"resultZ" *is the default result in the "ELSE" statement, and thus it is a
literal.

Thanks,
Rong

On Wed, May 8, 2019 at 9:08 AM Flavio Pompermaier 
wrote:

> Hi to all,
> in the documentation of the Table Conditional functions [1] the example is
> inconsistent with the related description (there's no resultX for example).
> Or am I wrong?
>
> [1]
> https://ci.apache.org/projects/flink/flink-docs-release-1.8/dev/table/functions.html#conditional-functions
>
>


Re: Inconsistent documentation of Table Conditional functions

2019-05-08 Thread Xingcan Cui
Hi Flavio,

In the description, resultX is just an identifier for the result of the first 
meeting condition.

Best,
Xingcan

> On May 8, 2019, at 12:02 PM, Flavio Pompermaier  wrote:
> 
> Hi to all,
> in the documentation of the Table Conditional functions [1] the example is 
> inconsistent with the related description (there's no resultX for example). 
> Or am I wrong?
> 
> [1] 
> https://ci.apache.org/projects/flink/flink-docs-release-1.8/dev/table/functions.html#conditional-functions
>  
> 
> 



Inconsistent documentation of Table Conditional functions

2019-05-08 Thread Flavio Pompermaier
Hi to all,
in the documentation of the Table Conditional functions [1] the example is
inconsistent with the related description (there's no resultX for example).
Or am I wrong?

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.8/dev/table/functions.html#conditional-functions