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

Bad error message for view creation in non writeable workspaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Client - ODBC
    • None

    Description

      The error message when Drill fails to create a view looks as follow:

      [7/7/2014 3:43:11 PM]  Executing Query: CREATE VIEW `dfs.default`.`test` AS SELECT CAST(R_NAME as varchar(20))Country,CAST(R_COMMENT as varchar(200))Comments, R_RegionKey  FROM `dfs`.`default`.`./opt/mapr/drill/drill-1.0.0.BETA1/sample-data/region.parquet`
      [7/7/2014 3:43:11 PM]  Failed to create view test
      [7/7/2014 3:43:11 PM]  Current schema 'dfs.default' is not a mutable schema. Can't create views in this schema.
      

      This looks daunting. Some improvement please.

      Attachments

        1. DRILL-1119.1.patch.txt
          1 kB
          Hanifi Gunes

        Activity

          People

            DrillCommitter DrillCommitter
            overcoil George Chow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: