<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Passing in multiple attributes to ExecuteSQL in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passing-in-multiple-attributes-to-ExecuteSQL/m-p/159416#M33174</link>
    <description>&lt;P&gt;nevermind, it looked like I was setting my attributes correctly. I combined both the toDate and fromDate into one file, and now my flow looks like:&lt;/P&gt;&lt;P&gt;fetchFile-&amp;gt;extractText-&amp;gt;executeSQL&lt;/P&gt;&lt;P&gt;fetchFile is from local FS, I use regex to pull the fields I need from the file and set them to their respective variables and use those variables in my executeSQL&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2016 01:25:26 GMT</pubDate>
    <dc:creator>mliem</dc:creator>
    <dc:date>2016-06-28T01:25:26Z</dc:date>
    <item>
      <title>Passing in multiple attributes to ExecuteSQL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passing-in-multiple-attributes-to-ExecuteSQL/m-p/159415#M33173</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an executeSQL processor that takes in two attributes ($fromDate and $toDate) &lt;/P&gt;&lt;P&gt;ex. select * from table where date &amp;gt; $fromDate and date &amp;lt;$toDate. &lt;/P&gt;&lt;P&gt;The data for these attributes are stored in separate files so my flow looks like this:&lt;/P&gt;&lt;P&gt;fetchFile-&amp;gt;extractText-&amp;gt;   &lt;/P&gt;&lt;P style="margin-left: 180px;"&gt;executeSQL&lt;/P&gt;&lt;P&gt;fetchFile-&amp;gt;extractText-&amp;gt;&lt;/P&gt;&lt;P&gt;Even though both extractText are connected to the same execute SQL, what I'm noticing is that executeSQL will take only one of these variables and run. I want tobe able to pass in both at the same time before running. I am also surprised it's even able to run with only one parameter. Example, if I disabled either the top or bottom flow, the sql still executes fine. Does it used a cached value?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 00:11:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passing-in-multiple-attributes-to-ExecuteSQL/m-p/159415#M33173</guid>
      <dc:creator>mliem</dc:creator>
      <dc:date>2016-06-28T00:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Passing in multiple attributes to ExecuteSQL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passing-in-multiple-attributes-to-ExecuteSQL/m-p/159416#M33174</link>
      <description>&lt;P&gt;nevermind, it looked like I was setting my attributes correctly. I combined both the toDate and fromDate into one file, and now my flow looks like:&lt;/P&gt;&lt;P&gt;fetchFile-&amp;gt;extractText-&amp;gt;executeSQL&lt;/P&gt;&lt;P&gt;fetchFile is from local FS, I use regex to pull the fields I need from the file and set them to their respective variables and use those variables in my executeSQL&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 01:25:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passing-in-multiple-attributes-to-ExecuteSQL/m-p/159416#M33174</guid>
      <dc:creator>mliem</dc:creator>
      <dc:date>2016-06-28T01:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Passing in multiple attributes to ExecuteSQL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passing-in-multiple-attributes-to-ExecuteSQL/m-p/159417#M33175</link>
      <description>&lt;P&gt;Hi mliem,can you share screenshot of the processor(properties)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 20:09:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passing-in-multiple-attributes-to-ExecuteSQL/m-p/159417#M33175</guid>
      <dc:creator>waghmithu</dc:creator>
      <dc:date>2017-08-18T20:09:11Z</dc:date>
    </item>
  </channel>
</rss>

