Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10744 Integrate Flink with Hive metastore
  3. FLINK-11247

Fix DESCRIBE command to support catalog tables

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      When the DESCRIBE command is applied to a catalog table, it fails with an error:

      Flink SQL> DESCRIBE nyc.TaxiRides;                                                                                                                                                
      [ERROR] Could not execute SQL statement. Reason:                                                                                                                                  
      org.apache.flink.table.api.TableException: Table 'nyc.TaxiRides' was not found.
      

      The reason appears to be that LocalExecutor calls TableEnvironment::scan with the fully-qualified table name as a parameter (e.g. scan("nyc.TaxiRides")) rather than with an array of components (e.g. scan("nyc", "TaxiRides")).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            yanghua vinoyang
            eronwright Eron Wright
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 10m
                10m

                Slack

                  Issue deployment