<?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: toNumber() function NOT returning a number in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/toNumber-function-NOT-returning-a-number/m-p/363446#M238988</link>
    <description>&lt;P&gt;I resorted to using an Avro schema with the RecordsetWriter in order to coerce the values into numbers.&amp;nbsp; So even though the documentation says toNumber's return type is "Number", it doesn't get expressed that way.&amp;nbsp; But the schema fixes it so its all good.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 02:02:51 GMT</pubDate>
    <dc:creator>ChuckE</dc:creator>
    <dc:date>2023-02-09T02:02:51Z</dc:date>
    <item>
      <title>toNumber() function NOT returning a number</title>
      <link>https://community.cloudera.com/t5/Support-Questions/toNumber-function-NOT-returning-a-number/m-p/363444#M238986</link>
      <description>&lt;P&gt;When attempting to insert a timestamp in milliseconds into a flowfile using the UpdateRecord processor, the timestamp comes out expressed as a string (first image) despite the fact that I've explicitly cast it as a number (second image).&amp;nbsp; &amp;nbsp;How can I get this expressed as a number like it is supposed to?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-02-08 at 15.15.13.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36747iE8A66CFE69A9E451/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-02-08 at 15.15.13.png" alt="Screenshot 2023-02-08 at 15.15.13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-02-08 at 16.36.53.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36746iD164EEFCA3CA3287/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-02-08 at 16.36.53.png" alt="Screenshot 2023-02-08 at 16.36.53.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:44:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/toNumber-function-NOT-returning-a-number/m-p/363444#M238986</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2023-02-08T22:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: toNumber() function NOT returning a number</title>
      <link>https://community.cloudera.com/t5/Support-Questions/toNumber-function-NOT-returning-a-number/m-p/363446#M238988</link>
      <description>&lt;P&gt;I resorted to using an Avro schema with the RecordsetWriter in order to coerce the values into numbers.&amp;nbsp; So even though the documentation says toNumber's return type is "Number", it doesn't get expressed that way.&amp;nbsp; But the schema fixes it so its all good.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 02:02:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/toNumber-function-NOT-returning-a-number/m-p/363446#M238988</guid>
      <dc:creator>ChuckE</dc:creator>
      <dc:date>2023-02-09T02:02:51Z</dc:date>
    </item>
  </channel>
</rss>

