<?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 Remorph : Getting Error while running remorph-core-0.2.0-SNAPSHOT.jar after Maven build in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/remorph-getting-error-while-running-remorph-core-0-2-0-snapshot/m-p/103829#M41568</link>
    <description>&lt;P&gt;&lt;SPAN&gt;We are encountering an issue while running the remorph-core-0.2.0-SNAPSHOT.jar&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;file after successfully building it using Maven. The build completes without errors, but when we try to execute the generated .jar&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;file, we get the following exception attached in the screenshot.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;line No. 56 in Main.scala&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/databrickslabs/remorph/blob/main/core/src/main/scala/com/databricks/labs/remorph/Main.scala" target="_blank"&gt;https://github.com/databrickslabs/remorph/blob/main/core/src/main/scala/com/databricks/labs/remorph/Main.scala&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jan 2025 17:45:32 GMT</pubDate>
    <dc:creator>sangwan</dc:creator>
    <dc:date>2025-01-01T17:45:32Z</dc:date>
    <item>
      <title>Remorph : Getting Error while running remorph-core-0.2.0-SNAPSHOT.jar after Maven build</title>
      <link>https://community.databricks.com/t5/data-engineering/remorph-getting-error-while-running-remorph-core-0-2-0-snapshot/m-p/103829#M41568</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We are encountering an issue while running the remorph-core-0.2.0-SNAPSHOT.jar&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;file after successfully building it using Maven. The build completes without errors, but when we try to execute the generated .jar&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;file, we get the following exception attached in the screenshot.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;line No. 56 in Main.scala&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/databrickslabs/remorph/blob/main/core/src/main/scala/com/databricks/labs/remorph/Main.scala" target="_blank"&gt;https://github.com/databrickslabs/remorph/blob/main/core/src/main/scala/com/databricks/labs/remorph/Main.scala&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2025 17:45:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/remorph-getting-error-while-running-remorph-core-0-2-0-snapshot/m-p/103829#M41568</guid>
      <dc:creator>sangwan</dc:creator>
      <dc:date>2025-01-01T17:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Remorph : Getting Error while running remorph-core-0.2.0-SNAPSHOT.jar after Maven build</title>
      <link>https://community.databricks.com/t5/data-engineering/remorph-getting-error-while-running-remorph-core-0-2-0-snapshot/m-p/103834#M41569</link>
      <description>&lt;P class="_1t7bu9h1 paragraph"&gt;Here are a few steps you can take to debug and resolve this issue:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Check the Code for &lt;CODE&gt;Either&lt;/CODE&gt; Usage&lt;/STRONG&gt;: Look through your codebase for instances where &lt;CODE&gt;Either&lt;/CODE&gt; is used. Ensure that you are handling both &lt;CODE&gt;Left&lt;/CODE&gt; and &lt;CODE&gt;Right&lt;/CODE&gt; cases properly. The error suggests that there is an assumption that the &lt;CODE&gt;Either&lt;/CODE&gt; is always &lt;CODE&gt;Right&lt;/CODE&gt;, which is not the case.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Add Logging&lt;/STRONG&gt;: Add logging around the areas where &lt;CODE&gt;Either&lt;/CODE&gt; is used to print out whether the value is &lt;CODE&gt;Left&lt;/CODE&gt; or &lt;CODE&gt;Right&lt;/CODE&gt;. This can help you identify where the unexpected &lt;CODE&gt;Left&lt;/CODE&gt; value is coming from.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Review Recent Changes&lt;/STRONG&gt;: If this issue started occurring after recent changes, review those changes to see if any modifications were made to the code handling &lt;CODE&gt;Either&lt;/CODE&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Check Dependencies&lt;/STRONG&gt;: Ensure that all dependencies are correctly specified and that there are no version mismatches that could cause unexpected behavior.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Unit Tests&lt;/STRONG&gt;: Write unit tests for the functions that return &lt;CODE&gt;Either&lt;/CODE&gt; to ensure that they handle both &lt;CODE&gt;Left&lt;/CODE&gt; and &lt;CODE&gt;Right&lt;/CODE&gt; cases correctly.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 01 Jan 2025 18:34:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/remorph-getting-error-while-running-remorph-core-0-2-0-snapshot/m-p/103834#M41569</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2025-01-01T18:34:55Z</dc:date>
    </item>
  </channel>
</rss>

