Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-21102

Refresh command is too aggressive in parsing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: SQL
    • Labels:

      Description

      SQL REFRESH command parsing is way too aggressive:

          | REFRESH TABLE tableIdentifier                                    #refreshTable
          | REFRESH .*?                                                      #refreshResource
      

      We should change it so it takes the whole string (without space), or a quoted string.

        Attachments

          Activity

            People

            • Assignee:
              aokolnychyi Anton Okolnychyi
              Reporter:
              rxin Reynold Xin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: