Re: how to get the code produced by Flink Code Generator

2019-08-07 Thread Rong Rong
+1. I think this would be a very nice way to provide more verbose feedback
for debugging.

--
Rong

On Wed, Aug 7, 2019 at 9:28 AM Fabian Hueske  wrote:

> Hi Vincent,
>
> I don't think there is such a flag in Flink.
> However, this sounds like a really good idea.
>
> Would you mind creating a Jira ticket for this?
>
> Thank you,
> Fabian
>
> Am Di., 6. Aug. 2019 um 17:53 Uhr schrieb Vincent Cai <
> caidezhi...@foxmail.com>:
>
>> Hi Users,
>> In Spark, we can invoke  Dataset method "queryExecution.debug.codegen()"
>> to get the code produced by Catalyst.
>> is there any similar api in Flink?
>>
>> reference link :
>> https://medium.com/virtuslab/spark-sql-under-the-hood-part-i-26077f85ebf0
>>
>>
>>
>>
>> Regards
>> Vincent  Cai
>>
>>


Re: how to get the code produced by Flink Code Generator

2019-08-07 Thread Fabian Hueske
Hi Vincent,

I don't think there is such a flag in Flink.
However, this sounds like a really good idea.

Would you mind creating a Jira ticket for this?

Thank you,
Fabian

Am Di., 6. Aug. 2019 um 17:53 Uhr schrieb Vincent Cai <
caidezhi...@foxmail.com>:

> Hi Users,
> In Spark, we can invoke  Dataset method "queryExecution.debug.codegen()"
> to get the code produced by Catalyst.
> is there any similar api in Flink?
>
> reference link :
> https://medium.com/virtuslab/spark-sql-under-the-hood-part-i-26077f85ebf0
>
>
>
>
> Regards
> Vincent  Cai
>
>