spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <ja...@japila.pl>
Subject GenerateExec, CodegenSupport and supportCodegen flag off?!
Date Sun, 10 Dec 2017 21:16:47 GMT
Hi,

I'm wondering why a physical operator like GenerateExec would
extend CodegenSupport [1], but had the supportCodegen flag turned off?

What's the meaning of such a combination -- be a CodegenSupport with
supportCodegen off?

[1]
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/GenerateExec.scala#L58-L64

[2]
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/GenerateExec.scala#L125

Pozdrawiam,
Jacek Laskowski
----
https://about.me/JacekLaskowski
Spark Structured Streaming https://bit.ly/spark-structured-streaming
Mastering Apache Spark 2 https://bit.ly/mastering-apache-spark
Follow me at https://twitter.com/jaceklaskowski

Mime
View raw message