Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14737

Calcite. Equals predicate with multiple results from subqueries must fail.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sql
    • Labels:
    • Ignite Flags:
      Docs Required, Release Notes Required

      Description

      Suppose table looks like :

      products

      name cat_id subcat_id
      n1 1 10
      n2 2 10
      n3 3 11

      and request :

      SELECT NAME FROM products WHERE CAT_ID = (SELECT CAT_ID FROM products WHERE SUBCAT_ID = 10)
      

      for now it correctly executed and returns undefined results, proposal : return ERROR and appropriate message.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              zstan Evgeny Stanilovsky
              Reporter:
              zstan Evgeny Stanilovsky

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                  Issue deployment