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

Web console: failed to execute query in demo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5
    • wizards
    • None

    Description

      If I set 'Allow non-collocated joins' option for demo query

      SELECT p.name, count(*) AS cnt
      FROM "ParkingCache".Parking p
      INNER JOIN "CarCache".Car c
        ON (p.id) = (c.parkingId)
      GROUP BY P.NAME
      

      then I got the following error

      Error: Failed to prepare distributed join query: join condition does not use index [joinedCache=CarCache, plan=SELECT P__Z0.NAME AS __C0_0, COUNT(*) AS __C0_1 FROM "ParkingCache".PARKING P__Z0 /* "ParkingCache".PARKING.__SCAN_ */ INNER JOIN "CarCache".CAR C__Z1 /* batched:broadcast "CarCache".CAR.__SCAN_ */ ON 1=1 WHERE P__Z0.ID = C__Z1.PARKINGID GROUP BY P__Z0.NAME]
      

      Please add necessary indices

      Attachments

        Activity

          People

            pkonstantinov Pavel Konstantinov
            pkonstantinov Pavel Konstantinov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: