<?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: Lakebridge Analyzer stopped working. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/lakebridge-analyzer-stopped-working/m-p/149708#M53159</link>
    <description>&lt;P class="p8i6j01 paragraph"&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/197750"&gt;@Aloknath_Ganage&lt;/a&gt;&amp;nbsp; -&amp;nbsp;Thanks for the details and screenshots.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;On doing some research, I believe the&amp;nbsp;Analyzer itself is running correctly... that’s why you see the &lt;CODE class="p8i6j0f"&gt;analyzer_output.tmp&lt;/CODE&gt; file with all the detailed metrics. The issue is likely in the &lt;STRONG&gt;second step&lt;/STRONG&gt;, where Lakebridge takes that temp file and &lt;STRONG&gt;merges it into the Excel workbook&lt;/STRONG&gt;. That merge step is currently failing, which is why the &lt;CODE class="p8i6j0f"&gt;.xlsx&lt;/CODE&gt; file only shows the empty “Summary / SQL Programs / SQL Script Categories / UNKNOWN SQL Category” tabs with zeros, even though the &lt;CODE class="p8i6j0f"&gt;.tmp&lt;/CODE&gt; file has data.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;This is almost always caused by a &lt;STRONG&gt;local Lakebridge/Analyzer installation issue&lt;/STRONG&gt; (version mismatch or corruption of the Excel writer/template), not by your input code or the source dialect.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;&lt;STRONG&gt;To fix it, please:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL class="p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;&lt;STRONG&gt;Make sure the Excel report isn’t open&lt;/STRONG&gt; when you run the Analyzer and that the output folder is writable.&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;&lt;STRONG&gt;Reinstall Lakebridge on that machine&lt;/STRONG&gt;:&lt;BR /&gt;
&lt;DIV class="l8rrz21 _1ibi0s3dn" data-ui-element="code-block-container"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-bash p8i6j0e hljs language-bash _12n1b832"&gt;bash&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-bash p8i6j0e hljs language-bash _12n1b832"&gt;databricks labs uninstall lakebridge
databricks labs install lakebridge
databricks labs lakebridge install-transpile   &lt;SPAN class="hljs-comment"&gt;# if you’re also using the transpiler&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;
&lt;P class="p8i6j01 paragraph"&gt;&lt;STRONG&gt;Re-run the Analyzer once with debug logging&lt;/STRONG&gt; and a small test folder:&lt;/P&gt;
&lt;DIV class="l8rrz21 _1ibi0s3dn" data-ui-element="code-block-container"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-bash p8i6j0e hljs language-bash _12n1b832"&gt;bash&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-bash p8i6j0e hljs language-bash _12n1b832"&gt;&lt;BR /&gt;databricks labs lakebridge analyze \
  --source-directory &amp;lt;path&amp;gt; \
  --report-file &amp;lt;path&amp;gt;\lakebridge_analysis.xlsx \
  --source-tech &amp;lt;SOURCE_TECH&amp;gt; \
  --debug&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV class="l8rrz23 _1ibi0s3d6 _1ibi0s332 _1ibi0s3do _1ibi0s3bm _1ibi0s3ce"&gt;
&lt;DIV class="l8rrz25 _1ibi0s3db"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="lqznwq0"&gt;&lt;SPAN&gt;After this run, the Excel should hopefully be populated again. If it still comes out empty, please share the tail of the &lt;/SPAN&gt;&lt;CODE class="p8i6j0f"&gt;--debug&lt;/CODE&gt;&lt;SPAN&gt; output and the new &lt;/SPAN&gt;&lt;CODE class="p8i6j0f"&gt;.tmp&lt;/CODE&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;CODE class="p8i6j0f"&gt;.xlsx&lt;/CODE&gt;&lt;SPAN&gt; files so I can investigate or talk to our Lakebridge team.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="lqznwq0"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Regards,&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 03 Mar 2026 15:43:50 GMT</pubDate>
    <dc:creator>Ashwin_DSA</dc:creator>
    <dc:date>2026-03-03T15:43:50Z</dc:date>
    <item>
      <title>Lakebridge Analyzer stopped working.</title>
      <link>https://community.databricks.com/t5/data-engineering/lakebridge-analyzer-stopped-working/m-p/149660#M53150</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I was using the lakebridge Analyzer and tranpiler for the last 2 months and it was working fine and was providing the expected output. But from the last 2-3 days when I'm running the Analyzer command for any of the dialect it is generating analyzer_output.temp file along with the analyzer_output.xlsx.&lt;/P&gt;&lt;P&gt;The xlsx file doesn't containing any data with missing the required sheets in it but the temp file has all the required data, and it is failing to merge.&lt;/P&gt;&lt;P&gt;What could be the problem?&lt;/P&gt;&lt;P&gt;Please find the attached SS for the reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2026 05:30:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakebridge-analyzer-stopped-working/m-p/149660#M53150</guid>
      <dc:creator>Aloknath_Ganage</dc:creator>
      <dc:date>2026-03-03T05:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Lakebridge Analyzer stopped working.</title>
      <link>https://community.databricks.com/t5/data-engineering/lakebridge-analyzer-stopped-working/m-p/149708#M53159</link>
      <description>&lt;P class="p8i6j01 paragraph"&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/197750"&gt;@Aloknath_Ganage&lt;/a&gt;&amp;nbsp; -&amp;nbsp;Thanks for the details and screenshots.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;On doing some research, I believe the&amp;nbsp;Analyzer itself is running correctly... that’s why you see the &lt;CODE class="p8i6j0f"&gt;analyzer_output.tmp&lt;/CODE&gt; file with all the detailed metrics. The issue is likely in the &lt;STRONG&gt;second step&lt;/STRONG&gt;, where Lakebridge takes that temp file and &lt;STRONG&gt;merges it into the Excel workbook&lt;/STRONG&gt;. That merge step is currently failing, which is why the &lt;CODE class="p8i6j0f"&gt;.xlsx&lt;/CODE&gt; file only shows the empty “Summary / SQL Programs / SQL Script Categories / UNKNOWN SQL Category” tabs with zeros, even though the &lt;CODE class="p8i6j0f"&gt;.tmp&lt;/CODE&gt; file has data.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;This is almost always caused by a &lt;STRONG&gt;local Lakebridge/Analyzer installation issue&lt;/STRONG&gt; (version mismatch or corruption of the Excel writer/template), not by your input code or the source dialect.&lt;/P&gt;
&lt;P class="p8i6j01 paragraph"&gt;&lt;STRONG&gt;To fix it, please:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL class="p8i6j02"&gt;
&lt;LI class="p8i6j0a"&gt;&lt;STRONG&gt;Make sure the Excel report isn’t open&lt;/STRONG&gt; when you run the Analyzer and that the output folder is writable.&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;&lt;STRONG&gt;Reinstall Lakebridge on that machine&lt;/STRONG&gt;:&lt;BR /&gt;
&lt;DIV class="l8rrz21 _1ibi0s3dn" data-ui-element="code-block-container"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-bash p8i6j0e hljs language-bash _12n1b832"&gt;bash&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-bash p8i6j0e hljs language-bash _12n1b832"&gt;databricks labs uninstall lakebridge
databricks labs install lakebridge
databricks labs lakebridge install-transpile   &lt;SPAN class="hljs-comment"&gt;# if you’re also using the transpiler&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;
&lt;P class="p8i6j01 paragraph"&gt;&lt;STRONG&gt;Re-run the Analyzer once with debug logging&lt;/STRONG&gt; and a small test folder:&lt;/P&gt;
&lt;DIV class="l8rrz21 _1ibi0s3dn" data-ui-element="code-block-container"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-bash p8i6j0e hljs language-bash _12n1b832"&gt;bash&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-bash p8i6j0e hljs language-bash _12n1b832"&gt;&lt;BR /&gt;databricks labs lakebridge analyze \
  --source-directory &amp;lt;path&amp;gt; \
  --report-file &amp;lt;path&amp;gt;\lakebridge_analysis.xlsx \
  --source-tech &amp;lt;SOURCE_TECH&amp;gt; \
  --debug&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV class="l8rrz23 _1ibi0s3d6 _1ibi0s332 _1ibi0s3do _1ibi0s3bm _1ibi0s3ce"&gt;
&lt;DIV class="l8rrz25 _1ibi0s3db"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="lqznwq0"&gt;&lt;SPAN&gt;After this run, the Excel should hopefully be populated again. If it still comes out empty, please share the tail of the &lt;/SPAN&gt;&lt;CODE class="p8i6j0f"&gt;--debug&lt;/CODE&gt;&lt;SPAN&gt; output and the new &lt;/SPAN&gt;&lt;CODE class="p8i6j0f"&gt;.tmp&lt;/CODE&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;CODE class="p8i6j0f"&gt;.xlsx&lt;/CODE&gt;&lt;SPAN&gt; files so I can investigate or talk to our Lakebridge team.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="lqznwq0"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Regards,&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 03 Mar 2026 15:43:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakebridge-analyzer-stopped-working/m-p/149708#M53159</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-03-03T15:43:50Z</dc:date>
    </item>
    <item>
      <title>Hi @Aloknath_Ganage, The symptoms you describe (the .tmp...</title>
      <link>https://community.databricks.com/t5/data-engineering/lakebridge-analyzer-stopped-working/m-p/150334#M53370</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/197750"&gt;@Aloknath_Ganage&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The symptoms you describe (the .tmp file contains all the data but the .xlsx is empty with only placeholder sheet tabs) point to the Excel report merge/generation step failing after the core analysis completes successfully.&lt;/P&gt;
&lt;P&gt;Here are a few things to check and try:&lt;/P&gt;
&lt;P&gt;1. CHECK YOUR LAKEBRIDGE VERSION&lt;/P&gt;
&lt;P&gt;Run this to see which version you are on:&lt;/P&gt;
&lt;PRE&gt;databricks labs installed&lt;/PRE&gt;
&lt;P&gt;If you were recently auto-updated to v0.12.1 or v0.12.2, the analyzer filepath handling changed in v0.12.1 (released Feb 12, 2026). That release simplified how --report-file and --source-directory paths are resolved and removed the old "timestamped directory" behavior. If your workflow or wrapper scripts relied on the previous path logic, that could cause the Excel writer to fail silently while the .tmp data is still generated correctly.&lt;/P&gt;
&lt;P&gt;2. REINSTALL LAKEBRIDGE&lt;/P&gt;
&lt;P&gt;A clean reinstall resolves most merge/Excel generation issues caused by version mismatches or corrupted local state:&lt;/P&gt;
&lt;PRE&gt;databricks labs uninstall lakebridge
databricks labs install lakebridge&lt;/PRE&gt;
&lt;P&gt;If you also use the transpiler:&lt;/P&gt;
&lt;PRE&gt;databricks labs lakebridge install-transpile&lt;/PRE&gt;
&lt;P&gt;3. MAKE SURE NOTHING IS LOCKING THE OUTPUT FILE&lt;/P&gt;
&lt;P&gt;Before running the analyzer, confirm that:&lt;BR /&gt;
- The target .xlsx file is not open in Excel or another process&lt;BR /&gt;
- The output folder is writable by the current user&lt;BR /&gt;
- There is no leftover .xlsx from a previous run that might be read-only&lt;/P&gt;
&lt;P&gt;4. RE-RUN WITH DEBUG LOGGING&lt;/P&gt;
&lt;P&gt;After reinstalling, test with a small input folder and the --debug flag to capture the full trace:&lt;/P&gt;
&lt;PRE&gt;databricks labs lakebridge analyze \
--source-directory /path/to/small-test-folder \
--report-file /path/to/output/lakebridge_analysis.xlsx \
--source-tech &amp;lt;YOUR_SOURCE_TECH&amp;gt; \
--debug&lt;/PRE&gt;
&lt;P&gt;The debug output will show exactly where the merge step fails if it happens again.&lt;/P&gt;
&lt;P&gt;5. FILE A GITHUB ISSUE IF THE PROBLEM PERSISTS&lt;/P&gt;
&lt;P&gt;Lakebridge is a Databricks Labs project and the team tracks bugs on GitHub. If the reinstall does not fix it, please open an issue at:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/databrickslabs/lakebridge/issues" target="_blank"&gt;https://github.com/databrickslabs/lakebridge/issues&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Include the tail end of the --debug output along with the .tmp and .xlsx files. The team is responsive and can look into any regression in the Excel writer.&lt;/P&gt;
&lt;P&gt;ADDITIONAL CONTEXT&lt;/P&gt;
&lt;P&gt;You can also check the release notes for v0.12.1 and v0.12.2 to see if any of the analyzer changes relate to your setup:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/databrickslabs/lakebridge/releases" target="_blank"&gt;https://github.com/databrickslabs/lakebridge/releases&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;* This reply used an agent system I built to research and draft this response based on the wide set of documentation I have available and previous memory. I personally review the draft for any obvious issues and for monitoring system reliability and update it when I detect any drift, but there is still a small chance that something is inaccurate, especially if you are experimenting with brand new features.&lt;/P&gt;
&lt;P&gt;If this answer resolves your question, could you mark it as "Accept as Solution"? That helps other users quickly find the correct fix.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2026 05:46:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakebridge-analyzer-stopped-working/m-p/150334#M53370</guid>
      <dc:creator>SteveOstrowski</dc:creator>
      <dc:date>2026-03-09T05:46:49Z</dc:date>
    </item>
  </channel>
</rss>

