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

Create table with same columns of different case results in a java.lang.IllegalStateException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: SQL Parser
    • Labels:
      None

      Description

      Doing a create table with same column in different case results in a runtime exception. This query should fail at planning or parsing.

      CREATE TABLE drill_parquet_mulCaseColumns3 as select cast( BIGINT_col as bigint) BIGINT_col,cast( DECIMAL9_col as decimal) bigint_col FROM dfs.`/user/root/alltypes.json`;

        Attachments

        1. DRILL-2311.1.patch
          5 kB
          Sean Hsuan-Yi Chu

          Issue Links

            Activity

              People

              • Assignee:
                seanhychu Sean Hsuan-Yi Chu
                Reporter:
                inramana Ramana Inukonda Nagaraj
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: