<?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: Read a flowfile with groovy error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Read-a-flowfile-with-groovy-error/m-p/233769#M195592</link>
    <description>&lt;P&gt;Not for me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;def createTable = "create table ${schema.name} (" +
    schema.fields.collect{ "\n  ${it.name.padRight(39)} ${typeMap[it.type]}" }.join(',') +
    "\n)"&lt;/PRE&gt;&lt;P&gt;No such a no such property : name for class : java.lang.string&lt;/P&gt;&lt;P&gt;And i Used this to escape the first error :  def schema = ''&lt;/P&gt;&lt;PRE&gt;session.read(ff, {inputStream -&amp;gt;
  schema= IOUtils.toString(inputStream, StandardCharsets.UTF_8)
} as InputStreamCallback)&lt;/PRE&gt;</description>
    <pubDate>Tue, 06 Mar 2018 01:00:23 GMT</pubDate>
    <dc:creator>AmiraKhalifa</dc:creator>
    <dc:date>2018-03-06T01:00:23Z</dc:date>
  </channel>
</rss>

