Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2811

[hive] Inaccurate error flagging when executing a highlighted section of code

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: None
    • Component/s: con.hive
    • Labels:
    • Environment:

      CDH 5.4

    • Target Version:
    • Easy:
      Easy

      Description

      If I highlight a portion of a query and execute it, the location of the error is flagged relative to the start of the whole query rather than relative to the start of the highlighted section. For example:

      • I highlight lines 101-110 of a query and run it
      • Suppose that line 107 contains an error (the 7th line of the highlighted bit)
      • Then the red error box would be positioned just below line 7 of the whole query - way up from where the error actually occurred - and the helper text would also indicate that the problematic line number was 7.

      Should be an easy fix I expect - it all just needs to be offset to the start of the highlighted bit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                johan.ahlen Johan Åhlén
                Reporter:
                martinbenson Martin Benson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: