Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8155

In select statement after * any random characters are allowed in hive but in RDBMS its not allowed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.1.0
    • None

    Description

      In select statement after * any random characters are allowed in hive but in RDBMS its not allowed.
      Steps:
      In the below query "abcdef" is random characters.

      In RDBMS(oracle):
      select *abcdef from mytable;
      Output:
      ERROR prepare() failed with: ORA-00923: FROM keyword not found where expected

      In Hive:
      select *abcdef from mytable;
      Output:
      Query worked fine and display all the records of mytable.

      Attachments

        1. HIVE-8155.1.patch
          2 kB
          Dong Chen
        2. HIVE-8155.patch
          1 kB
          Dong Chen

        Activity

          People

            dongc Dong Chen
            Ferd Ferdinand Xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: