Hive
  1. Hive
  2. HIVE-4547

A complex create view statement fails with new Antlr 3.4

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.12.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      A complex create view statement with CAST in join condition fails with IllegalArgumentException error. This is exposed by the Antlr 3.4 upgrade (HIVE-2439). The same statement works fine with Hive 0.9

      1. HIVE-4547-1.patch
        13 kB
        Prasad Mujumdar
      2. HIVE-4547-repro.tar
        10 kB
        Prasad Mujumdar

        Issue Links

          Activity

          Prasad Mujumdar made changes -
          Link This issue relates to HIVE-4742 [ HIVE-4742 ]
          Ashutosh Chauhan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Ashutosh Chauhan added a comment -

          This issue has been fixed and released as part of 0.12 release. If you find further issues, please create a new jira and link it to this one.

          Show
          Ashutosh Chauhan added a comment - This issue has been fixed and released as part of 0.12 release. If you find further issues, please create a new jira and link it to this one.
          Hide
          Ashutosh Chauhan added a comment -

          Missed adding new data files while committing this patch. Committed those now.

          Show
          Ashutosh Chauhan added a comment - Missed adding new data files while committing this patch. Committed those now.
          Ashutosh Chauhan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Ashutosh Chauhan added a comment -

          Committed to trunk. Thanks, Prasad!

          Show
          Ashutosh Chauhan added a comment - Committed to trunk. Thanks, Prasad!
          Hide
          Ashutosh Chauhan added a comment -

          +1

          Show
          Ashutosh Chauhan added a comment - +1
          Ashutosh Chauhan made changes -
          Link This issue relates to HIVE-4344 [ HIVE-4344 ]
          Hide
          Ashutosh Chauhan added a comment -
          Show
          Ashutosh Chauhan added a comment - Ping Thiruvel Thirumoolan
          Hide
          Thiruvel Thirumoolan added a comment -

          Sure, will take a look.

          Show
          Thiruvel Thirumoolan added a comment - Sure, will take a look.
          Hide
          Ashutosh Chauhan added a comment -

          Thiruvel Thirumoolan Would you like to review this, since you wrote this piece originally.

          Show
          Ashutosh Chauhan added a comment - Thiruvel Thirumoolan Would you like to review this, since you wrote this piece originally.
          Prasad Mujumdar made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hide
          Prasad Mujumdar added a comment -
          Show
          Prasad Mujumdar added a comment - Review request on https://reviews.apache.org/r/11084/
          Prasad Mujumdar made changes -
          Attachment HIVE-4547-1.patch [ 12582902 ]
          Prasad Mujumdar made changes -
          Attachment HIVE-4547-repro.tar [ 12582901 ]
          Hide
          Prasad Mujumdar added a comment -

          Attached repro script

          Show
          Prasad Mujumdar added a comment - Attached repro script
          Prasad Mujumdar made changes -
          Field Original Value New Value
          Link This issue is related to HIVE-2439 [ HIVE-2439 ]
          Prasad Mujumdar created issue -

            People

            • Assignee:
              Prasad Mujumdar
              Reporter:
              Prasad Mujumdar
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development