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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Testing Infrastructure
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: