<?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>topic Re: Create parquet file from Thingworx Extension in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837059#M60185</link>
    <description>&lt;P&gt;your absolute right&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 08:09:12 GMT</pubDate>
    <dc:creator>gfontana</dc:creator>
    <dc:date>2022-11-09T08:09:12Z</dc:date>
    <item>
      <title>Create parquet file from Thingworx Extension</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/836114#M60158</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I've created an extension that convert a file from csv to parquet and send it to Event Hub.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The creation of parquet is based on&amp;nbsp;&lt;STRONG&gt;spark-3.3.0-bin-hadoop2&lt;/STRONG&gt;&amp;nbsp; libraries installed on file system and referred by an enviroment variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This scenario is working well but i wondering if is possible perform the same action loading the&amp;nbsp;&lt;STRONG&gt;spark-3.3.0-bin-hadoop2&lt;/STRONG&gt;&amp;nbsp; as a Thingworx extension. In this case how&amp;nbsp; can I referred the library in an environment variables ?&lt;/P&gt;&lt;P&gt;Answering question&amp;nbsp; could solve the problem when Thingworx is installed in a cloud environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 17:35:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/836114#M60158</guid>
      <dc:creator>gfontana</dc:creator>
      <dc:date>2022-11-04T17:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create parquet file from Thingworx Extension</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/836700#M60176</link>
      <description>&lt;P&gt;Is the code you're running with that library referencing any existing Hadoop installation? In other words, does that library needs access to an existing Apache Hadoop installation?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 13:17:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/836700#M60176</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2022-11-08T13:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create parquet file from Thingworx Extension</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837048#M60181</link>
      <description>&lt;P&gt;Hello Vladimir,&lt;/P&gt;&lt;P&gt;I've discovered that, in reality, if you include the right library in your project you can avoid to referred the Hadoop installation.&lt;/P&gt;&lt;P&gt;It's a forcing because the Hadoop installation is always searched, when you generate the parquet file, but if it's missing the writer use those jar referred locally; so the extension works well.&lt;/P&gt;&lt;P&gt;Thank you for your answer and have a nice day&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giorgio Fontana&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 07:42:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837048#M60181</guid>
      <dc:creator>gfontana</dc:creator>
      <dc:date>2022-11-09T07:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create parquet file from Thingworx Extension</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837052#M60182</link>
      <description>&lt;P&gt;Very good information. So, did you manage to use that library without having any conflict with the built-in ThingWorx JAR libraries? Usually external JAR libraries also have some dependencies, which in turn can conflict with the ThingWorx libraries (but not necessarily). I looked at the library you mentioned and it had 240 JAR libraries in there as dependencies. If it works as an extension this means that all those libraries are already included in ThingWorx, which is a very lucky situation.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 07:54:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837052#M60182</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2022-11-09T07:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create parquet file from Thingworx Extension</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837057#M60183</link>
      <description>&lt;P&gt;In my experience, developing the extension with eclipse, every time you include some external jars and run the extension is the system that notify those conflict.&lt;/P&gt;&lt;P&gt;So it's enough remove them from your project and the game is solved. This is happened also in this case, is a boring works but at the end it worth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you (also for the kudos)&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 08:00:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837057#M60183</guid>
      <dc:creator>gfontana</dc:creator>
      <dc:date>2022-11-09T08:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create parquet file from Thingworx Extension</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837058#M60184</link>
      <description>&lt;P&gt;(your welcome)&lt;/P&gt;
&lt;P&gt;Still, you're in a lucky situation, because if there is a conflict, and the library you would try to use requires a newer version of the JAR library then the one you have in ThingWorx, you could possible have a blocker (eg: if a method signature changed). Meaning that if there's significant differences you could reach a blocker.&lt;/P&gt;
&lt;P&gt;For future users, if I would be in such a situation, I would package the extension as a JAVA Edge SDK implementation (effectively very small difference to an extension SDK, but you need to deploy it somewhere and make sure it runs )&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 08:05:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837058#M60184</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2022-11-09T08:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create parquet file from Thingworx Extension</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837059#M60185</link>
      <description>&lt;P&gt;your absolute right&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 08:09:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-parquet-file-from-Thingworx-Extension/m-p/837059#M60185</guid>
      <dc:creator>gfontana</dc:creator>
      <dc:date>2022-11-09T08:09:12Z</dc:date>
    </item>
  </channel>
</rss>

