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

When replacing the src table names in BeeLine testing, the table names shouldn't be changed to lower case

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Testing Infrastructure
    • Labels:
      None

      Description

      When running the q tests with BeeLine, the name of the src tables are changed in all queries to have the database name as prefix, like src -> default.src, srcpart -> default.srcpart
      This renaming mechanism changes the table names to lower case. For example the query "SELECT * FROM SRC" will be "SELECT * FROM src" after the rewite. This will cause failure during the comparison of the out files.
      Change the QFile.replaceTableNames method to keep the upper case letters unchanged.

        Attachments

        1. HIVE-17798.1.patch
          0.7 kB
          Marta Kuczora

          Issue Links

            Activity

              People

              • Assignee:
                kuczoram Marta Kuczora
                Reporter:
                kuczoram Marta Kuczora
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: