how to get the code produced by Flink Code Generator

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to get the code produced by Flink Code Generator

Vincent Cai
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


Reply | Threaded
Open this post in threaded view
|

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

Fabian Hueske-2
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 <[hidden email]>:
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? 




Regards
Vincent  Cai


Reply | Threaded
Open this post in threaded view
|

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

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 <[hidden email]> 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 <[hidden email]>:
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? 




Regards
Vincent  Cai