Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 217D4200D59 for ; Sun, 10 Dec 2017 22:17:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1695D160C09; Sun, 10 Dec 2017 21:17:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5C379160BF2 for ; Sun, 10 Dec 2017 22:16:59 +0100 (CET) Received: (qmail 95526 invoked by uid 500); 10 Dec 2017 21:16:57 -0000 Mailing-List: contact dev-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@spark.apache.org Received: (qmail 95514 invoked by uid 99); 10 Dec 2017 21:16:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Dec 2017 21:16:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 28957180714 for ; Sun, 10 Dec 2017 21:16:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.76 X-Spam-Level: ** X-Spam-Status: No, score=2.76 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_SHORT=0.001, PLING_QUERY=0.279, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=japila-pl.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id yhHkHstio0Js for ; Sun, 10 Dec 2017 21:16:55 +0000 (UTC) Received: from mail-it0-f44.google.com (mail-it0-f44.google.com [209.85.214.44]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D5B345FAF7 for ; Sun, 10 Dec 2017 21:16:54 +0000 (UTC) Received: by mail-it0-f44.google.com with SMTP id u62so11571489ita.2 for ; Sun, 10 Dec 2017 13:16:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=japila-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=+GoeZSOVGvnhejrjuy/t6nNzjUnPk+sbnD5dOyWwZno=; b=mUaPIp/cZ1PztVUY36VEc8eLMfPrWsrf18xn4OIKPBwcV7Q02Tiesx+wwcUYuZho3U JCQlDifAaqTEbREzcPjStMfCLUg1VSEsh1xYuO8h2ifBE1icBysAcm2Ekr/c5m64xIIz yC5NRfvWRj/U6Os0klrHVmqMwof9KU2C38N7VBTnYkdq27UUPvyzxXjF5VvlEtNTJ/xt w+dNc/cLF446Emhk8o9HFWvC2/N+977RhBGH0kMQdasHWszrCJFhd5VnbijPwMOAAD5/ JrXQPUurSGhLMf6cozdjcsoOfS5wEqo7gNQGylzjHvMwRtoDgTIuIVRWrY5bsZ8/R58P ZXzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+GoeZSOVGvnhejrjuy/t6nNzjUnPk+sbnD5dOyWwZno=; b=rqDUcYF70kBDbx75zouFrdbSizGNGJa+jCMDcdGR3BgPWIzyMMPV4EvydLE3EZJ0c/ zxgj1QfnjspZbTCdiftIF1jxB0Nzb9svy9Zd867bfxEZ5A/jAxAO9wV9E+yW/+dE+EEZ WBpsIBPfj7m/6tVsiT7pxjlJAdtBrnys+6RyHwJJaytgRgoluC+8LeHTFKujUpQxgiBL bz0JwQnU7ujOzvDKZcNGuR5g5bm9E0B/sj4d2kkT3GnDBRr5WLTQAudtTvjE9xV4EBkk 0Xhl39Dz7kkIUVUvumqeL4FFgwrteCacPA2PvWzT9CDMhpqQAqHIPkWiWp99D07URc1b b3WA== X-Gm-Message-State: AKGB3mKR+vluQPrzqCr5qPv8WihiIUqXCZcp2s8UNhHhtR+fXjtLYt8a XInWV5jANXEoIVVarTv2XRCdpnkPU0SHuqGfsCOfKPnz X-Google-Smtp-Source: AGs4zMYdU5wfCxUJ00S/R5We/cqWYHbKspQS76/M30M+0GStuCaYxgPnwOz4MeEbkX845chMDNYwRdbAMYGkST7CLyQ= X-Received: by 10.107.79.4 with SMTP id d4mr25386469iob.12.1512940608142; Sun, 10 Dec 2017 13:16:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.4.7 with HTTP; Sun, 10 Dec 2017 13:16:47 -0800 (PST) From: Jacek Laskowski Date: Sun, 10 Dec 2017 22:16:47 +0100 Message-ID: Subject: GenerateExec, CodegenSupport and supportCodegen flag off?! To: dev Content-Type: multipart/alternative; boundary="f4f5e803e06483d3b9056002ef65" archived-at: Sun, 10 Dec 2017 21:17:00 -0000 --f4f5e803e06483d3b9056002ef65 Content-Type: text/plain; charset="UTF-8" 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 --f4f5e803e06483d3b9056002ef65 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm wondering why a physical op= erator like=C2=A0GenerateExec=C2=A0would extend=C2=A0CodegenSupport [1], bu= t had the=C2=A0supportCodegen flag turned off?

Wha= t's the meaning of such a combination -- be a CodegenSupport with suppo= rtCodegen off?



Pozdrawiam,
Jacek L= askowski
----
Spark St= ructured Streaming=C2=A0https://bit.ly/spark-structured-streaming
Mastering Apache Spark 2=C2=A0https://bit.ly/mastering-apache-spark
Follow me at https://twitter.com/jaceklaskowski
--f4f5e803e06483d3b9056002ef65--