Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2752

Error message must be improved when incompatible types are used in an expression

    XMLWordPrintableJSON

Details

    Description

      Query with a filter expression containing incompatible types must fail gracefully.

      column ss_net_profit is of type double.

      > select * from store_sales  where ss_net_profit = 'abc' limit 1;
      Query failed: RemoteRpcException: Failure while running fragment., abc [ 2206cb8a-1f5f-4c4e-9906-8b84237291c4 on abhi8.qa.lab:31010 ]
      [ 2206cb8a-1f5f-4c4e-9906-8b84237291c4 on abhi8.qa.lab:31010 ]
      Error: exception while executing query: Failure while executing query. (state=,code=0)
      

      Error message must indicate that the value provided is of incompatible type.

      Attachments

        Activity

          People

            Unassigned Unassigned
            agirish Abhishek Girish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: