From user-return-73629-archive-asf-public=cust-asf.ponee.io@spark.apache.org Wed Feb 14 10:25:00 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8E640180621 for ; Wed, 14 Feb 2018 10:24:59 +0100 (CET) Received: (qmail 69537 invoked by uid 500); 14 Feb 2018 09:24:56 -0000 Mailing-List: contact user-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@spark.apache.org Received: (qmail 69518 invoked by uid 99); 14 Feb 2018 09:24:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2018 09:24:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BFF7BC01A9 for ; Wed, 14 Feb 2018 09:24:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.88 X-Spam-Level: * X-Spam-Status: No, score=1.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 0JsiL7RwiMeC for ; Wed, 14 Feb 2018 09:24:54 +0000 (UTC) Received: from mail-ot0-f175.google.com (mail-ot0-f175.google.com [74.125.82.175]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 890ED5F341 for ; Wed, 14 Feb 2018 09:24:54 +0000 (UTC) Received: by mail-ot0-f175.google.com with SMTP id m20so19821506otf.3 for ; Wed, 14 Feb 2018 01:24:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:date:message-id:subject:to:cc; bh=Is5wWZzERobDvOJvL14e/x/MZm/mp0Dshy0iUJzxTaY=; b=teKOjEOx4oOZTIXzXJZfZ/HuOrxIGlHINYgHZb/BPLI/0OXTm9+HpsGUlW1n99zzor 68gNMjEJWLEeAhE/SWckTEHpt7xKUTB4F9K7sR0r5asR9Lw/G1WGKBXAZmjA++HCt63i qcAFv7emZhT4uadnS64ZxbALH21ACWLTbe3G9S4GmvjrZbA2g+uiPlnVTaDV6OxFJk5a 1QMyoiCECSAeoW2jxvg+gDORpLkN3uC4FrJsUT4XB68Ns6ZvisA5WufiwW9akvM0CIcY wOAqPWv+t6M/vUpG9ePxctkGJngr4ZrhdQ8vApPOnDyAV3pbj6T4HmPJmF3q9r9JAizq pOLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to:cc; bh=Is5wWZzERobDvOJvL14e/x/MZm/mp0Dshy0iUJzxTaY=; b=OzDJUvJHsa2bQSVSTmXaJ+cCK7PO/SYzBX60TLGCXjO83coQNBqdD+kfPyqZnXXr8V 68egCPrWAAx6VE7QAYeAO8U/HINMGanoK0x+8pehZKWCu1xMcjUIzssKfzSW4lOtu4JO qV4BiEmUSqHd+62+VCA6D7vn2S5W9OvzGeTlp8yBQtp27xR52N+ZRe0rb3kapTdu6ytZ Jr7nHFh8UJPYLWksNMhg+/PeHoUy0p9vMAKb0ptoEJolBNDccpWPYjJ0CqpeLDXyFIXJ 8MgwZQJNjSDLybZpu87SPO9hBHND2D4bipf3GpxPnr3nVAb+Cul3TPDDJFuw2cImbVgj ES9w== X-Gm-Message-State: APf1xPA2VJiqJCtF6/MXANmxVf1pKnPjtrDRl4RuICUy3zMEeMsJw8TN hLDNk9uAkRzphEp/ag2uQqWFTXm4I8vMGBZQ+e0= X-Google-Smtp-Source: AH8x226rmpfiikj3NvjVfJ9ugZXf02FSZVWS3KJExbL9v/w/DVm3zq1kKvvx4U2hTopu07sSZ6a6B1O+QosFLvSgMWE= X-Received: by 10.157.46.130 with SMTP id w2mr351062ota.231.1518600288567; Wed, 14 Feb 2018 01:24:48 -0800 (PST) Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Wed, 14 Feb 2018 04:24:48 -0500 From: Appu K X-Mailer: Airmail (467) MIME-Version: 1.0 Date: Wed, 14 Feb 2018 04:24:48 -0500 Message-ID: Subject: Spark structured streaming: periodically refresh static data frame To: user@spark.apache.org Cc: hemanth.gudela@qvantel.com Content-Type: multipart/alternative; boundary="001a113ddc1ac18777056528ae69" --001a113ddc1ac18777056528ae69 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I had followed the instructions from the thread https://mail-archives.apache.org/mod_mbox/spark-user/201704.mbox/%3CD1315D3= 3-41CD-4BA3-8B77-0879F3669352@qvantel.com%3E while trying to reload a static data frame periodically that gets joined to a structured streaming query. However, the streaming query results does not reflect the data from the refreshed static data frame. Code is here https://gist.github.com/anonymous/90dac8efadca3a69571e619943ddb2f6 I=E2=80=99m using spark 2.2.1 . Any pointers would be highly helpful Thanks a lot Appu --001a113ddc1ac18777056528ae69 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Hi,

I had followed the instructions from = the thread=C2=A0ht= tps://mail-archives.apache.org/mod_mbox/spark-user/201704.mbox/%3CD1315D33-= 41CD-4BA3-8B77-0879F3669352@qvantel.com%3E=C2=A0while trying to reload = a static data frame periodically that gets joined to a structured streaming= query.

<= /div>
However, the = streaming query results does not reflect the data from the refreshed static= data frame.
=
I=E2=80=99m= using spark=C2=A02.2.1 . Any pointers would be highly helpful

Thanks a lot

Appu

--001a113ddc1ac18777056528ae69--