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

create and alter queries should trim empty spaces in the request objects.

    XMLWordPrintableJSON

Details

    Description

      If starting/trailing empty strings are being provided in the query (within the quotes),
      Create table request (event) is currently being inserted into the notification log table. This would be a problem for listeners subscribed to the HMS notification log. So it would be ideal to trim these whitespaces and then insert it into the notification log. 

      Alter table query is throwing an error here. The ideal behavior should be to ignore the whitespaces and proceed with alter request.

      Attachments

        Issue Links

          Activity

            People

              hemanth619 Sai Hemanth Gantasala
              hemanth619 Sai Hemanth Gantasala
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h